Changeset 318b5bbb in sasview for sansguiframe/src


Ignore:
Timestamp:
Dec 18, 2012 10:55:24 AM (12 years ago)
Author:
Jae Cho <jhjcho@…>
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:
6550b64
Parents:
0203ade
Message:

Added polarization and magnetic stuffs

Location:
sansguiframe/src/sans/guiframe
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • sansguiframe/src/sans/guiframe/data_panel.py

    r657e52c r318b5bbb  
    3535from sans.guiframe.events import NewBatchEvent 
    3636from sans.dataloader.loader import Loader 
    37 from sans.guiframe.local_perspectives.plotting.masking \ 
    38     import FloatPanel as QucikPlotDialog 
    39  
     37#from sans.guiframe.local_perspectives.plotting.masking \ 
     38#    import FloatPanel as QucikPlotDialog 
     39from sans.guiframe.local_perspectives.plotting.SimplePlot import PlotFrame \ 
     40        as QucikPlotDialog 
    4041import sans.guiframe.config as config 
    4142  
     
    447448            dimension = 2 
    448449        else: 
    449             dimension = 1 
    450         panel = QucikPlotDialog(base=self, data=data,  
    451                                 dimension=dimension, id=wx.NewId()) 
    452         panel.ShowModal()     
     450            dimension = 1  
     451        #panel = QucikPlotDialog(base=self, data=data,  
     452        #                        dimension=dimension, id=wx.NewId()) 
     453        frame = QucikPlotDialog(self, -1, "Plot " + data.name, 'log_{10}') 
     454        self.parent.put_icon(frame) 
     455        frame.add_plot(data) 
     456        #frame.SetTitle(title) 
     457        frame.Show(True) 
     458        frame.SetFocus() 
     459        #panel.ShowModal()     
    453460     
    454461    def on_data_info(self, event): 
  • sansguiframe/src/sans/guiframe/local_perspectives/plotting/Plotter1D.py

    r657e52c r318b5bbb  
    130130        _labels['Square'] = i 
    131131        i += 1 
    132         _labels['Diamond'] = i 
     132        _labels['diamond'] = i 
    133133        i += 1 
    134134        _labels['Diamond'] = i 
Note: See TracChangeset for help on using the changeset viewer.