Changeset bd1d9d9 in sasview for guiframe


Ignore:
Timestamp:
Jan 15, 2009 7:42:08 AM (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:
3bae6c8
Parents:
7ce4862
Message:

change the qmax of annulus to data2d.xmax

File:
1 edited

Legend:

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

    re4032d64 rbd1d9d9  
    2626        self.markers = [] 
    2727        self.axes = axes 
    28         self.qmax = self.base.qmax 
     28        self.qmax = self.base.data2D.xmax 
    2929        self.connect = self.base.connect 
    3030         
     
    3434        # Inner circle 
    3535        self.inner_circle = RingInteractor(self, self.base.subplot, zorder=zorder, r=self.qmax/2.0) 
    36         self.inner_circle.qmax = self.base.qmax 
     36        self.inner_circle.qmax = self.qmax 
    3737        self.outer_circle = RingInteractor(self, self.base.subplot, zorder=zorder+1, r=self.qmax/1.8) 
    38         self.outer_circle.qmax = self.base.qmax*1.2 
     38        self.outer_circle.qmax = self.qmax*1.2 
    3939        #self.outer_circle.set_cursor(self.base.qmax/1.8, 0) 
    4040         
Note: See TracChangeset for help on using the changeset viewer.