Changeset 2879 for trunk/GSASIIplot.py
- Timestamp:
- Jun 26, 2017 5:04:06 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r2878 r2879 1188 1188 :func:`PlotPatterns` 1189 1189 ''' 1190 if not histogram.startswith('PWDR'): return 1191 G2frame.PatternId = G2gd.GetPatternTreeItemId(G2frame, G2frame.root, histogram) 1190 if not histogram.startswith('PWDR'): return 1191 pickId = G2frame.PickId 1192 G2frame.PickId = G2frame.PatternId = G2gd.GetPatternTreeItemId(G2frame, G2frame.root, histogram) 1192 1193 treedata = G2frame.PatternTree.GetItemPyData(G2frame.PatternId) 1193 1194 PlotPatterns(G2frame,newPlot=True,plotType='PWDR',data=[treedata[0],refdata]) 1194 1195 wx.Yield() # force a plot update (needed on Windows?) 1195 1196 G2frame.PickId = pickId 1197 1196 1198 def ReplotPattern(G2frame,newPlot,plotType,PatternName=None,PickName=None): 1197 1199 '''This does the same as PlotPatterns except that it expects the information
Note: See TracChangeset
for help on using the changeset viewer.