Changeset 831149e in sasview for guitools/plottables.py


Ignore:
Timestamp:
Apr 15, 2008 2:49:58 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:
88e7d08
Parents:
3de85b8
Message:

working better .Since have to think about the zoom

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guitools/plottables.py

    r370e587 r831149e  
    409409         
    410410        return self.view.returnXview() 
    411          
    412          
     411    
    413412    class View: 
    414413        """ 
     
    524523        def returnXview(self): 
    525524            return self.x,self.y,self.dx,self.dy 
    526             
    527       
     525         
     526        def returnValueOfView(self,i):  
     527            print"this is i:",i 
     528            if i in range(len(self.x)): 
     529                print self.x[i] 
     530                return self.x[i] 
     531 
    528532class Data1D(Plottable): 
    529533    """Data plottable: scatter plot of x,y with errors in x and y. 
Note: See TracChangeset for help on using the changeset viewer.