Changeset 3274
- Timestamp:
- Feb 12, 2018 1:34:17 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r3273 r3274 1520 1520 if not G2frame.Contour: 1521 1521 G2frame.SinglePlot = False 1522 Pattern[0]['Offset'] = [0.,0.]1522 Pattern[0]['Offset'] = [0.,0.] 1523 1523 else: 1524 1524 G2frame.SinglePlot = True … … 1527 1527 G2frame.plotStyle['qPlot'] = False 1528 1528 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.xdata1532 if xpos is None: return #avoid out of frame mouse position1533 ypos = event.ydata1534 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) 1535 1535 elif event.key == 'q': 1536 1536 newPlot = True … … 2155 2155 'd: offset down','l: offset left','r: offset right','u: offset up','o: reset offset', 2156 2156 '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',) 2160 2160 G2frame.cid = None 2161 2161 Page.keyPress = OnPlotKeyPress
Note: See TracChangeset
for help on using the changeset viewer.