Changeset c09f14a in sasview


Ignore:
Timestamp:
Jan 15, 2009 9:22:20 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:
2dda74ac
Parents:
1b6bb09
Message:

removing self.qmax from plotter2D .

File:
1 edited

Legend:

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

    raa1b747 rc09f14a  
    7272        self.beamstop_radius = DEFAULT_BEAM 
    7373        # Slicer 
     74        """ 
    7475        if data2d.xmax==None: 
    7576            data2d.xmax=DEFAULT_QMAX+self.qstep*0.01 
     
    7980            data2d.ymax=DEFAULT_QMAX+self.qstep*0.01 
    8081        self.imax = data2d.ymax 
     82        """ 
    8183        #self.radius = math.sqrt(data2d.) 
    82         self.qstep = DEFAULT_QSTEP 
     84        #self.qstep = DEFAULT_QSTEP 
    8385        #print "panel2D qmax",self.qmax, 
    8486         
    85         self.x = pylab.arange(-1*self.qmax, self.qmax+self.qstep*0.01, self.qstep) 
    86         self.y = pylab.arange(-1*self.imax, self.imax+self.qstep*0.01, self.qstep) 
    87  
    88         self.slicer_z = 5 
     87        #self.x = pylab.arange(-1*self.qmax, self.qmax+self.qstep*0.01, self.qstep) 
     88        #self.y = pylab.arange(-1*self.imax, self.imax+self.qstep*0.01, self.qstep) 
     89        #self.slicer_z = 5 
    8990        self.slicer = None 
    9091        self.parent.Bind(EVT_INTERNAL, self._onEVT_INTERNAL) 
     
    304305        self.slicer_z += 1 
    305306        self.slicer = slicer(self, self.subplot, zorder=self.slicer_z) 
     307        print "come here" 
     308        #self.subplot.set_ylim(self.data2D.ymin, self.data2D.ymax) 
     309        #self.subplot.set_xlim(self.data2D.xmin, self.data2D.xmax) 
     310        """ 
    306311        self.subplot.set_ylim(-self.qmax, self.qmax) 
    307312        self.subplot.set_xlim(-self.qmax, self.qmax) 
     313        """ 
    308314        self.update() 
    309315        self.slicer.update() 
     
    329335        from DataLoader.manipulations import CircularAverage 
    330336        import math 
     337        self.qmax= self.data2D.xmax 
    331338        self.radius= math.sqrt( math.pow(self.qmax,2)+math.pow(self.qmax,2))  
    332339        print "radius?",self.radius 
Note: See TracChangeset for help on using the changeset viewer.