def METHOD_NAME(out,ofilename,title,indices,ifilename,x_range,y_label,col_index, titles):
    nplots = len(indices)
    out.write("reset\n")
    out.write("set grid\n")
    out.write("set term pdfcairo enhanced color font 'Helvetica,9'\n")
    out.write("set output \"" + ofilename + "\"\n")
    out.write("set termoption noenhanced\n")
    out.write("set tmargin 0\n")
    out.write("set bmargin 0\n")
    out.write("set ylabel \"" + y_label + "\"\n")
    out.write("set xrange [" + str(x_range[0]) + ":" + str(x_range[1]) + "]\n")