Loading sas_temper/output.py +51 −50 Original line number Diff line number Diff line Loading @@ -234,7 +234,8 @@ def outputSetRes(conf, res): grph.set_autoscale_on(True) grph.plot(vals[i],vals[j],'ko') grph.set_title(str(names[j])+" vs. "+str(names[i])) grph.set_xlabel(str(names[i])) grph.set_ylabel(str(names[j])) oname = str(conf.output)+"_"+str(names[j])+"_"+str(names[i])+".png" fig.savefig(oname,format="png") plt.close(fig) Loading @@ -247,9 +248,10 @@ def outputSetRes(conf, res): grph.set_autoscale_on(True) grph.hist(vals[i],bins=5,color = 'r', rwidth=0.9) grph.set_title("Histogram of "+str(names[i])) grph.set_xlabel(str(names[i])) grph.set_ylabel("Count") oname = str(conf.output)+"_"+str(names[i])+"_histogram.png" fig.savefig(oname,format="png") fig.savefig(oname,format="png", bbox_inches = "tight") plt.close(fig) # output plots of the values of the parameters vs. chi-squared Loading Loading @@ -292,4 +294,3 @@ def outputFitCurve(conf, d, m, mnum, chisq): oname = str(conf.output)+"%02d.png" %(mnum) fig.savefig(oname,format='png') plt.close(fig) Loading
sas_temper/output.py +51 −50 Original line number Diff line number Diff line Loading @@ -234,7 +234,8 @@ def outputSetRes(conf, res): grph.set_autoscale_on(True) grph.plot(vals[i],vals[j],'ko') grph.set_title(str(names[j])+" vs. "+str(names[i])) grph.set_xlabel(str(names[i])) grph.set_ylabel(str(names[j])) oname = str(conf.output)+"_"+str(names[j])+"_"+str(names[i])+".png" fig.savefig(oname,format="png") plt.close(fig) Loading @@ -247,9 +248,10 @@ def outputSetRes(conf, res): grph.set_autoscale_on(True) grph.hist(vals[i],bins=5,color = 'r', rwidth=0.9) grph.set_title("Histogram of "+str(names[i])) grph.set_xlabel(str(names[i])) grph.set_ylabel("Count") oname = str(conf.output)+"_"+str(names[i])+"_histogram.png" fig.savefig(oname,format="png") fig.savefig(oname,format="png", bbox_inches = "tight") plt.close(fig) # output plots of the values of the parameters vs. chi-squared Loading Loading @@ -292,4 +294,3 @@ def outputFitCurve(conf, d, m, mnum, chisq): oname = str(conf.output)+"%02d.png" %(mnum) fig.savefig(oname,format='png') plt.close(fig)