Changeset 2dda74ac in sasview


Ignore:
Timestamp:
Jan 15, 2009 9:26:38 AM (16 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:
f15ed33
Parents:
c09f14a
Message:

slicer: self.qmax changed

File:
1 edited

Legend:

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

    rac9a5f6 r2dda74ac  
    2727        self.markers = [] 
    2828        self.axes = axes 
    29         self.qmax = math.sqrt(2)*self.base.qmax 
     29        self.qmax = math.sqrt(2)*self.base.data2D.xmax 
    3030        #print "sector qmax", self.base.qmax 
    3131        self.connect = self.base.connect 
     
    4040        self.main_line = LineInteractor(self, self.base.subplot,color='green', zorder=zorder, r=self.qmax, 
    4141                                           theta= self.theta2) 
    42         self.main_line.qmax = self.base.qmax 
     42        self.main_line.qmax = self.qmax 
    4343        #self.left_line = SectionInteractor(self, self.base.subplot, zorder=zorder+1, r=self.qmax, 
    4444        #                                   theta1= self.theta1, theta2= self.theta2) 
     
    4848                                           phi= -1*self.phi, 
    4949                                           theta2=self.theta2) 
    50         self.right_line.qmax = self.base.qmax 
     50        self.right_line.qmax = self.qmax 
    5151        self.left_line= SideInteractor(self, self.base.subplot,color='blue', zorder=zorder, 
    5252                                     r=self.qmax, 
    5353                                           phi= self.phi, 
    5454                                           theta2=self.theta2) 
    55         self.left_line.qmax = self.base.qmax 
     55        self.left_line.qmax = self.qmax 
    5656        #self.outer_circle.set_cursor(self.base.qmax/1.8, 0) 
    5757         
Note: See TracChangeset for help on using the changeset viewer.