Ignore:
Timestamp:
Oct 9, 2008 3:45:38 PM (16 years ago)
Author:
Gervaise Alina <gervyh@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
2139c3f
Parents:
126a761
Message:

add togle scale on plotting module , allows loading data2D

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/local_perspectives/plotting/plotting.py

    r925155f r1c9419f4  
    1212import wx 
    1313import sys 
    14 from sans.guitools.PlotPanel import PlotPanel 
    15 from sans.guitools.plottables import Graph 
     14#from sans.guitools.PlotPanel import PlotPanel 
     15import danse.common.plottools 
     16from danse.common.plottools.PlotPanel import PlotPanel 
     17#from sans.guitools.plottables import Graph 
     18from danse.common.plottools.plottables import Graph 
    1619from sans.guicomm.events import EVT_NEW_PLOT 
    1720 
     
    209212                slicerpop.Append(id, '&Linear fit') 
    210213                wx.EVT_MENU(self, id, self.onFitting) 
     214                 
     215        id = wx.NewId() 
     216        slicerpop.Append(id, '&Toggle Linear/Log scale') 
     217        wx.EVT_MENU(self, id,  self._onToggleScale) 
    211218 
    212219        id = wx.NewId() 
Note: See TracChangeset for help on using the changeset viewer.