Changeset 3274


Ignore:
Timestamp:
Feb 12, 2018 1:34:17 PM (4 years ago)
Author:
toby
Message:

comment out plot changes in progress

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r3273 r3274  
    15201520            if not G2frame.Contour:
    15211521                G2frame.SinglePlot = False
    1522                 Pattern[0]['Offset'] = [0.,0.]
     1522                        Pattern[0]['Offset'] = [0.,0.]
    15231523            else:
    15241524                G2frame.SinglePlot = True               
     
    15271527                G2frame.plotStyle['qPlot'] = False
    15281528                G2frame.plotStyle['dPlot'] = False
    1529         elif event.key == 'a' and 'PWDR' in plottype and G2frame.SinglePlot and not (
    1530                 G2frame.logPlot or G2frame.plotStyle['sqrtPlot'] or G2frame.Contour):
    1531             xpos = event.xdata
    1532             if xpos is None: return  #avoid out of frame mouse position
    1533             ypos = event.ydata
    1534             print('event',xpos)
     1529        # elif event.key == 'a' and 'PWDR' in plottype and G2frame.SinglePlot and not (
     1530        #         G2frame.logPlot or G2frame.plotStyle['sqrtPlot'] or G2frame.Contour):
     1531        #     xpos = event.xdata
     1532        #     if xpos is None: return  #avoid out of frame mouse position
     1533        #     ypos = event.ydata
     1534        #     print('event',xpos)
    15351535        elif event.key == 'q':
    15361536            newPlot = True
     
    21552155                        'd: offset down','l: offset left','r: offset right','u: offset up','o: reset offset',
    21562156                        'q: toggle S(q) plot','m: toggle multidata plot','w: toggle (Io-Ic)/sig plot','+: no selection')
    2157     if 'PWDR' in plottype and G2frame.SinglePlot and not (
    2158                 G2frame.logPlot or G2frame.plotStyle['sqrtPlot'] or G2frame.Contour):
    2159         Page.Choice = Page.Choice + (' a: set multiplier -- only from keyboard',)
     2157#    if 'PWDR' in plottype and G2frame.SinglePlot and not (
     2158#                G2frame.logPlot or G2frame.plotStyle['sqrtPlot'] or G2frame.Contour):
     2159#        Page.Choice = Page.Choice + (' a: set multiplier -- only from keyboard',)
    21602160    G2frame.cid = None
    21612161    Page.keyPress = OnPlotKeyPress   
Note: See TracChangeset for help on using the changeset viewer.