Changeset ac9a5f6 in sasview for guiframe/local_perspectives


Ignore:
Timestamp:
Jan 13, 2009 5:44:04 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:
e4032d64
Parents:
b146d06
Message:

model2d sectorslicer display fixed

Location:
guiframe/local_perspectives/plotting
Files:
3 edited

Legend:

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

    r7ab9241 rac9a5f6  
    132132 
    133133        new_plot.source=self.base.data2D.source 
    134         new_plot.info=self.base.data2D.info 
     134        #new_plot.info=self.base.data2D.info 
    135135        new_plot.interactive = True 
    136136        #print "loader output.detector",output.source 
  • guiframe/local_perspectives/plotting/Plotter2D.py

    r92c2345 rac9a5f6  
    6161        self.plots = {} 
    6262        self.data2D= data2d 
    63         self.data = data2d.data 
     63        self.data =data2d.data 
    6464        ## Unique ID (from gui_manager) 
    6565        self.uid = None 
     
    149149            self.plots[event.plot.name].data = event.plot.data 
    150150            self.plots[event.plot.name].err_data = event.plot.err_data 
    151              
    152   
    153          
     151            # update qmax with the new xmax of data plotted 
     152            self.qmax= event.plot.xmax 
     153             
     154        self.slicer= None 
    154155        # Check axis labels 
    155156        #TODO: Should re-factor this 
     
    376377            Perform sector averaging on Q 
    377378        """ 
     379        print "onsector self.data2Dxmax",self.data2D.xmax 
    378380        from SectorSlicer import SectorInteractor 
    379381        self.onClearSlicer(event) 
  • guiframe/local_perspectives/plotting/SectorSlicer.py

    rb146d06 rac9a5f6  
    2828        self.axes = axes 
    2929        self.qmax = math.sqrt(2)*self.base.qmax 
     30        #print "sector qmax", self.base.qmax 
    3031        self.connect = self.base.connect 
    3132         
Note: See TracChangeset for help on using the changeset viewer.