Changeset 3138 for trunk/GSASIIplot.py
- Timestamp:
- Oct 24, 2017 2:15:48 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r3136 r3138 1380 1380 if G2frame.Contour: 1381 1381 G2frame.Cmax = max(0.0,G2frame.Cmax*0.8) 1382 elif Pattern[0]['Offset'][0] > 0.:1382 elif Pattern[0]['Offset'][0] > -100.: 1383 1383 Pattern[0]['Offset'][0] -= 1. 1384 elif event.key == 'U': 1385 if G2frame.Contour: 1386 G2frame.Cmin += (G2frame.Cmax - G2frame.Cmin)/5. 1387 elif Pattern[0]['Offset'][0] < 100.: 1388 Pattern[0]['Offset'][0] += 10. 1389 elif event.key == 'D': 1390 if G2frame.Contour: 1391 G2frame.Cmin -= (G2frame.Cmax - G2frame.Cmin)/5. 1392 elif Pattern[0]['Offset'][0] > -100.: 1393 Pattern[0]['Offset'][0] -= 10. 1384 1394 elif event.key == 'l' and not G2frame.SinglePlot: 1385 1395 Pattern[0]['Offset'][1] -= 1. … … 1983 1993 'w: toggle divide by sig','+: no selection') 1984 1994 else: 1985 Page.Choice = (' key press','l: offset left','r: offset right','d : offset down','u: offset up','o: reset offset',1995 Page.Choice = (' key press','l: offset left','r: offset right','d/D: offset down/10x','u/U: offset up/10x','o: reset offset', 1986 1996 'b: toggle subtract background','n: log(I) on','c: contour on','q: toggle q plot','t: toggle d-spacing plot', 1987 1997 'm: toggle multidata plot','f: select data','s: color scheme','w: toggle divide by sig','+: no selection') … … 2521 2531 if G2frame.Contour: 2522 2532 G2frame.Cmax = max(0.0,G2frame.Cmax*0.8) 2523 elif Page.Offset[1] > 0.:2533 elif Page.Offset[1] > -100.: 2524 2534 Page.Offset[1] -= 1. 2525 2535 elif event.key == 'U': 2526 G2frame.Cmin += (G2frame.Cmax - G2frame.Cmin)/20. 2536 if G2frame.Contour: 2537 G2frame.Cmin += (G2frame.Cmax - G2frame.Cmin)/5. 2538 elif Page.Offset[1] < 100.: 2539 Page.Offset[1] += 10. 2527 2540 elif event.key == 'D': 2528 G2frame.Cmin -= (G2frame.Cmax - G2frame.Cmin)/20. 2541 if G2frame.Contour: 2542 G2frame.Cmin -= (G2frame.Cmax - G2frame.Cmin)/5. 2543 elif Page.Offset[1] > -100.: 2544 Page.Offset[1] -= 10. 2529 2545 elif event.key == 'l': 2530 2546 Page.Offset[0] -= 1. … … 2692 2708 ) 2693 2709 else: 2694 Page.Choice = (' key press','l: offset left','r: offset right','d : offset down','u: offset up',2710 Page.Choice = (' key press','l: offset left','r: offset right','d/D: offset down/10x','u/U: offset up/10x', 2695 2711 'o: reset offset','t: toggle legend','c: contour on','w: toggle waterfall colors (slow!)', 2696 2712 'm: toggle multiplot','s: color scheme','f: select data' )
Note: See TracChangeset
for help on using the changeset viewer.