Changeset 248 for trunk/GSASIIplot.py
- Timestamp:
- Feb 17, 2011 1:33:02 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r245 r248 854 854 xpos = event.xdata-xcent 855 855 ypos = event.ydata-ycent 856 tth,azm = G2img.GetTthAzm(event.xdata,event.ydata,Data) 856 857 if 'line3' in str(item) or 'line4' in str(item) and not Data['fullIntegrate']: 857 ang = int(atan2d(xpos,ypos)) 858 Page.canvas.SetToolTipString('%6d deg'%(ang)) 858 Page.canvas.SetToolTipString('%6d deg'%(azm)) 859 859 elif 'line1' in str(item) or 'line2' in str(item): 860 tth = G2img.GetTth(event.xdata,event.ydata,Data)861 860 Page.canvas.SetToolTipString('%8.3fdeg'%(tth)) 862 861 else: … … 1102 1101 if Data['showLines']: 1103 1102 LRAzim = Data['LRazimuth'] #NB: integers 1103 AzmthOff = Data['azmthOff'] 1104 1104 IOtth = Data['IOtth'] 1105 1105 wave = Data['wavelength'] … … 1111 1111 Azm = np.array(range(0,361)) 1112 1112 else: 1113 Azm = np.array(range(LRAzim[0],LRAzim[1]+1)) 1113 Azm = np.array(range(LRAzim[0],LRAzim[1]+1))-AzmthOff 1114 1114 if ellI: 1115 1115 xyI = []
Note: See TracChangeset
for help on using the changeset viewer.