Changeset 4903 for trunk/GSASIIplot.py
- Timestamp:
- May 17, 2021 11:23:03 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r4895 r4903 3591 3591 CalcLine = Plot.plot(X,Z/ymax,colors[1],picker=False,label=incCptn('calc')) #Ic 3592 3592 else: 3593 Plot.plot(X,YB,color=colors[0],mar ler=pP,3593 Plot.plot(X,YB,color=colors[0],marker=pP, 3594 3594 picker=True,pickradius=3.,clip_on=Clip_on,label=incCptn('obs')) 3595 3595 Plot.plot(X,ZB,colors[2],picker=False,label=incCptn('calc')) … … 7335 7335 if (0 <= xpix < sizexy[0]) and (0 <= ypix < sizexy[1]): 7336 7336 Int = G2frame.ImageZ[ypix][xpix] 7337 tth,azm,D,dsp = G2img.GetTthAzmDsp (xpos,ypos,Data)7337 tth,azm,D,dsp = G2img.GetTthAzmDsp2(xpos,ypos,Data) 7338 7338 Q = 2.*math.pi/dsp 7339 7339 if G2frame.StrainKey: … … 7434 7434 xpos = event.xdata 7435 7435 ypos = event.ydata 7436 tth,azm,D,dsp = G2img.GetTthAzmDsp (xpos,ypos,Data)7436 tth,azm,D,dsp = G2img.GetTthAzmDsp2(xpos,ypos,Data) 7437 7437 G2frame.calibDmin.SetValue(dsp) 7438 7438 elif event.key in ['x',]: … … 7479 7479 # for now ignore the movement until it moves back in 7480 7480 return 7481 tth,azm,D,dsp = G2img.GetTthAzmDsp (event.xdata,event.ydata,Data)7481 tth,azm,D,dsp = G2img.GetTthAzmDsp2(event.xdata,event.ydata,Data) 7482 7482 itemPicked = str(G2frame.itemPicked) 7483 7483 if 'Itth' in itemPicked: … … 7613 7613 itemNum = G2frame.itemPicked.itemNumber 7614 7614 tth,azm,thick = Masks['Arcs'][itemNum] 7615 tthN,azmN,D,dsp = G2img.GetTthAzmDsp (Xpos,Ypos,Data)7615 tthN,azmN,D,dsp = G2img.GetTthAzmDsp2(Xpos,Ypos,Data) 7616 7616 if event.button == 1: 7617 7617 if pickType == 'ArcInner': … … 7922 7922 if not Xpos or not Ypos or Page.toolbar.AnyActive(): #got point out of frame or zoom/pan selected 7923 7923 return 7924 tth,azm,dsp = G2img.GetTthAzmDsp (Xpos,Ypos,Data)[:3]7924 tth,azm,dsp = G2img.GetTthAzmDsp2(Xpos,Ypos,Data)[:3] 7925 7925 itemPicked = str(G2frame.itemPicked) 7926 7926 try:
Note: See TracChangeset
for help on using the changeset viewer.