Changeset 2355 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Jun 30, 2016 8:36:29 AM (7 years ago)
Author:
vondreele
Message:

fix plot bug
add RDF calc - in progress
add background correction to pdf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r2336 r2355  
    43534353                Plot.plot([arcxI[ind],arcxO[ind]],[arcyI[ind],arcyO[ind]],color='k',dashes=(5,5))
    43544354                   
    4355         if G2frame.PickId and G2frame.PatternTree.GetItemText(G2frame.PickId) in 'Image Controls':
     4355        if G2frame.PickId and G2frame.PatternTree.GetItemText(G2frame.PickId) in ['Image Controls',]:
    43564356            for xring,yring in Data['ring']:
    43574357                Plot.plot(xring,yring,'r+',picker=3)
     
    43674367                    Plot.add_artist(Ellipse([cent[0],cent[1]],2*width,2*height,phi,ec=col,fc='none'))
    43684368                    Plot.text(cent[0],cent[1],'+',color=col,ha='center',va='center')
    4369         if G2frame.PatternTree.GetItemText(G2frame.PickId) in 'Stress/Strain':
     4369        if G2frame.PickId and G2frame.PatternTree.GetItemText(G2frame.PickId) in ['Stress/Strain',]:
    43704370            for N,ring in enumerate(StrSta['d-zero']):
    43714371                xring,yring = ring['ImxyObs']
Note: See TracChangeset for help on using the changeset viewer.