Changeset 5370 for trunk/GSASIIplot.py
- Timestamp:
- Nov 12, 2022 4:36:04 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r5368 r5370 2107 2107 Page.plotStyle['logPlot'] = False 2108 2108 G2frame.SubBack = False 2109 Ymax = max(Pattern[1][1])2109 YmaxS = max(Pattern[1][1]) 2110 2110 if Page.plotStyle['sqrtPlot']: 2111 Page.plotStyle['delOffset'] = .02*np.sqrt(Ymax )2112 Page.plotStyle['refOffset'] = -0.1*np.sqrt(Ymax )2113 Page.plotStyle['refDelt'] = .1*np.sqrt(Ymax )2111 Page.plotStyle['delOffset'] = .02*np.sqrt(YmaxS) 2112 Page.plotStyle['refOffset'] = -0.1*np.sqrt(YmaxS) 2113 Page.plotStyle['refDelt'] = .1*np.sqrt(YmaxS) 2114 2114 else: 2115 Page.plotStyle['delOffset'] = .02*Ymax 2116 Page.plotStyle['refOffset'] = -0.1*Ymax 2117 Page.plotStyle['refDelt'] = .1*Ymax 2115 Page.plotStyle['delOffset'] = .02*YmaxS 2116 Page.plotStyle['refOffset'] = -0.1*YmaxS 2117 Page.plotStyle['refDelt'] = .1*YmaxS 2118 2118 newPlot = True 2119 2119 elif event.key == 'S' and 'PWDR' in plottype: … … 2162 2162 G2frame.Cmin = 0.0 2163 2163 Page.plotStyle['Offset'] = [0,0] 2164 elif event.key == 'C' and 'PWDR' in plottype and G2frame.Contour: 2165 G2G.makeContourSliders(G2frame,Ymax,PlotPatterns,newPlot,plotType) 2164 2166 elif event.key == 'c' and 'PWDR' in plottype: 2165 2167 newPlot = True … … 3209 3211 'D: lower contour min','U: raise contour min', 3210 3212 'o: reset contour limits','g: toggle grid', 3211 'i: interpolation method','S: color scheme','c: contour off','t: temperature for y-axis','s: toggle sqrt plot') 3213 'i: interpolation method','S: color scheme','c: contour off', 3214 't: temperature for y-axis','s: toggle sqrt plot', 3215 'C: contour plot control window' 3216 ) 3212 3217 else: 3213 3218 if 'PWDR' in plottype:
Note: See TracChangeset
for help on using the changeset viewer.