Changeset 2108 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Dec 24, 2015 9:10:30 PM (7 years ago)
Author:
toby
Message:

Bug fix for Andrey: 5. Allow recalibrate after load controls on new image; fix to load image controls and change to enable of Recalibrate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r2107 r2108  
    36093609    import numpy.ma as ma
    36103610    Dsp = lambda tth,wave: wave/(2.*npsind(tth/2.))
    3611     global Data,Masks,StrSta
     3611    #global Data,Masks,StrSta  # BHT: I don't see why these need to be globals. Where are they accessed?
    36123612    colors=['b','g','r','c','m','k']
    36133613    Data = G2frame.PatternTree.GetItemPyData(
     
    39153915            G2frame.itemPicked = None
    39163916           
    3917     # PlotImage execution starts here       
     3917    # PlotImage execution starts here
    39183918    xylim = []
    39193919    try:
     
    40724072                    xring,yring = np.array(ring).T[:2]
    40734073                    Plot.plot(xring,yring,'.',color=colors[N%6])
    4074                     N += 1           
     4074                    N += 1
    40754075            for ellipse in Data['ellipses']:      #what about hyperbola?
    40764076                cent,phi,[width,height],col = ellipse
Note: See TracChangeset for help on using the changeset viewer.