Changeset 4228 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Jan 3, 2020 5:10:32 AM (3 years ago)
Author:
vondreele
Message:

Weight plots now work for dPlot & qPlot in single and multiplots

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r4224 r4228  
    18451845            return
    18461846        newPlot = False
    1847         if event.key == 'w' and not Page.plotStyle['qPlot'] and not Page.plotStyle['dPlot']:  #can't do weight plots when x-axis is different
     1847        if event.key == 'w':    # and not Page.plotStyle['qPlot'] and not Page.plotStyle['dPlot']:  #can't do weight plots when x-axis is different
    18481848            G2frame.Weight = not G2frame.Weight
    18491849            if not G2frame.Weight and 'PWDR' in plottype:
     
    32343234                    else:
    32353235                        DZ = (xye[1]-xye[3])*np.sqrt(wtFactor*xye[2])
    3236                     DifLine = Plot1.plot(X[Ibeg:Ifin],DZ[Ibeg:Ifin],colors[3],picker=1.,label='_diff')                    #(Io-Ic)/sig(Io)
     3236                    DifLine = Plot1.plot(X,DZ,colors[3],picker=1.,label='_diff')                    #(Io-Ic)/sig(Io)
    32373237                    Plot1.axhline(0.,color='k')
    32383238
Note: See TracChangeset for help on using the changeset viewer.