Changeset 2612
- Timestamp:
- Jan 5, 2017 3:02:43 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r2611 r2612 2339 2339 2340 2340 def PlotISFG(G2frame,newPlot=False,plotType=''): 2341 ''' Plotting package for PDF analysis; displays I( q), S(q), F(q) and G(r) as single2341 ''' Plotting package for PDF analysis; displays I(Q), S(Q), F(Q) and G(r) as single 2342 2342 or multiple plots with waterfall and contour plots as options 2343 2343 ''' … … 2451 2451 Page.keyPress = OnPlotKeyPress 2452 2452 PatternId = G2frame.PatternId 2453 Plot.set_title(plotType)2454 2453 if plotType == 'G(R)': 2455 Plot.set_xlabel(r'$R,\AA$',fontsize=14) 2454 Plot.set_xlabel(r'r,$\AA$',fontsize=14) 2455 Plot.set_ylabel(r'G(r), $\AA^{-2}$',fontsize=14) 2456 Plot.set_title('G(r)') 2456 2457 else: 2457 Plot.set_xlabel(r'$Q,\AA$'+superMinusOne,fontsize=14) 2458 Plot.set_ylabel(r''+plotType,fontsize=14) 2458 Plot.set_xlabel(r'$Q,\AA^{-1}$'+superMinusOne,fontsize=14) 2459 Plot.set_ylabel(r''+plotType,fontsize=14) 2460 Plot.set_title(plotType) 2459 2461 colors=['b','g','r','c','m','k'] 2460 2462 name = G2frame.PatternTree.GetItemText(PatternId)[4:] … … 2517 2519 Plot.plot(X,Y,colors[N%6],picker=False) 2518 2520 if plotType == 'G(R)': 2519 Xb = [0., 10.]2520 Yb = [0.,- 40.*np.pi*numbDen]2521 Xb = [0.,2.5] 2522 Yb = [0.,-10.*np.pi*numbDen] 2521 2523 Plot.plot(Xb,Yb,color='k',dashes=(5,5)) 2522 2524 elif plotType == 'F(Q)': -
trunk/GSASIIpwdGUI.py
r2611 r2612 4973 4973 4974 4974 G2G.HorizontalLine(mainSizer,G2frame.dataDisplay) 4975 mainSizer.Add(wx.StaticText(G2frame.dataDisplay,label=' S(Q)->F(Q)->G( R) controls: '),0,WACV)4975 mainSizer.Add(wx.StaticText(G2frame.dataDisplay,label=' S(Q)->F(Q)->G(r) controls: '),0,WACV) 4976 4976 mainSizer.Add((5,5),0) 4977 4977 sqBox = wx.BoxSizer(wx.HORIZONTAL) … … 5021 5021 5022 5022 sqBox = wx.BoxSizer(wx.HORIZONTAL) 5023 sqBox.Add(wx.StaticText(G2frame.dataDisplay,label=' Scaling q-range: '),0,WACV)5023 sqBox.Add(wx.StaticText(G2frame.dataDisplay,label=' Scaling Q-range: '),0,WACV) 5024 5024 SQmin = G2G.ValidatedTxtCtrl(G2frame.dataDisplay,data['QScaleLim'],0,nDig=(10,3), 5025 5025 min=qLimits[0],max=.95*data['QScaleLim'][1],
Note: See TracChangeset
for help on using the changeset viewer.