Changeset 3907 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
Apr 18, 2019 3:32:25 PM (3 years ago)
Author:
vondreele
Message:

add 'k' option to structure plot key box for toggle of contours

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r3903 r3907  
    62596259               
    62606260            def OnShowSlice(event):
    6261                 drawingData['showSlice'] = showCS.GetValue()
     6261                drawingData['showSlice'] = G2frame.phaseDisplay.showCS.GetValue()
    62626262                G2plt.PlotStructure(G2frame,data)
    62636263               
     
    63596359                line3Sizer = wx.BoxSizer(wx.HORIZONTAL)
    63606360           
    6361                 showCS = wx.CheckBox(drawOptions,-1,label=' Show contour slice?')
    6362                 showCS.Bind(wx.EVT_CHECKBOX, OnShowSlice)
    6363                 showCS.SetValue(drawingData['showSlice'])           
    6364                 line3Sizer.Add(showCS,0,WACV)
     6361                G2frame.phaseDisplay.showCS = wx.CheckBox(drawOptions,-1,label=' Show contour slice?')
     6362                G2frame.phaseDisplay.showCS.Bind(wx.EVT_CHECKBOX, OnShowSlice)
     6363                G2frame.phaseDisplay.showCS.SetValue(drawingData['showSlice'])           
     6364                line3Sizer.Add(G2frame.phaseDisplay.showCS,0,WACV)
    63656365                contourMaxTxt = wx.StaticText(drawOptions,-1,' Max.: '+'%.2f'%(drawingData['contourMax']*generalData['Map']['rhoMax']))
    63666366                line3Sizer.Add(contourMaxTxt,0,WACV)
Note: See TracChangeset for help on using the changeset viewer.