Changeset 404 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Oct 28, 2011 1:59:03 PM (10 years ago)
Author:
vondreele
Message:

put error bars on seq refinement plots
add cubic elastic strain coeff
make sure results are saved from seq refinements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r400 r404  
    14461446    Page.canvas.draw()
    14471447   
    1448 def PlotSeq(self,SeqData,SeqNames):
     1448def PlotSeq(self,SeqData,SeqSig,SeqNames):
    14491449   
    14501450    try:
     
    14641464    if len(SeqData):   
    14651465        X = np.arange(0,len(SeqData[0]),1)
    1466         for Y,name in zip(SeqData,SeqNames):
    1467             Plot.plot(X,Y,label=name)       
     1466        for Y,sig,name in zip(SeqData,SeqSig,SeqNames):
     1467            Plot.errorbar(X,Y,yerr=sig,label=name)       
    14681468        Plot.legend(loc='best')
    14691469        Page.canvas.draw()
Note: See TracChangeset for help on using the changeset viewer.