Commit 75abe941 authored by Heller, William T.'s avatar Heller, William T.
Browse files

Replace output.py

parent 2e8ff95e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -279,14 +279,14 @@ def outputFitCurve(conf, d, m, mnum, chisq):
    
    # set the plot title
    val = "%6.4f" %(chisq)
    fig.set_title('Fit of profile '+str(mnum)+' to '+str(conf.datafile)+r' $\chi^2$='+val)
    ax.set_title('Fit of profile '+str(mnum)+' to '+str(conf.datafile)+r' $\chi^2$='+val)
    
    # set the text of the axes
    ax.set_xlabel('q  (1/${\AA}$)')
    ax.set_ylabel('Intensity  (1/cm)')
    
    # plot the data and the fit curve.  No errorbars here
    ax.errobar(d.x, d.y, marker='o', mec='k', mfc='w', color='w')
    # plot the data and the fit curve.
    ax.errobar(d.x, d.y, yerr=d.dy, marker='o')
    ax.errorbar(m.x, m.y, 'r')
    
    oname = str(conf.output)+"%02d.png" %(mnum)