Changeset 3296 for trunk/GSASIIddataGUI.py
- Timestamp:
- Feb 22, 2018 1:16:19 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIddataGUI.py
r3242 r3296 71 71 h,k,l = hkl 72 72 Obj.SetValue('%3d %3d %3d'%(h,k,l)) 73 G2plt.PlotSizeStrainPO(G2frame,data,G2frame.hist) 74 75 def OnProj(event): 76 Obj = event.GetEventObject() 77 generalData['3Dproj'] = Obj.GetValue() 73 78 G2plt.PlotSizeStrainPO(G2frame,data,G2frame.hist) 74 79 … … 89 94 POhklSizer.Add(poAxis,0,WACV) 90 95 plotSizer.Add(POhklSizer) 91 elif generalData['Data plot type'] == 'Inv. pole figure': 92 pass #might need something here? 96 elif generalData['Data plot type'] in ['Mustrain','Size']: 97 projSizer = wx.BoxSizer(wx.HORIZONTAL) 98 projSizer.Add(wx.StaticText(DData,wx.ID_ANY,' Show projections for: '),0,WACV) 99 proj = ['','x','y','z','xy','xz','yz','xyz'] 100 projType = wx.ComboBox(DData,wx.ID_ANY,value=generalData['3Dproj'],choices=proj, 101 style=wx.CB_READONLY|wx.CB_DROPDOWN) 102 projType.Bind(wx.EVT_COMBOBOX, OnProj) 103 projSizer.Add(projType,0,WACV) 104 plotSizer.Add(projSizer) 93 105 return plotSizer 94 106
Note: See TracChangeset
for help on using the changeset viewer.