Changeset 9f5c8bb in sasview


Ignore:
Timestamp:
Jun 30, 2011 1:22:16 PM (13 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:
977a965
Parents:
944b1a6
Message:

minor fix in plot

File:
1 edited

Legend:

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

    r09a9660 r9f5c8bb  
    2020 
    2121from danse.common.plottools.PlotPanel import PlotPanel 
    22 from danse.common.plottools.plottables import Graph 
     22#from danse.common.plottools.plottables import Graph 
    2323from sans.guiframe import dataFitting  
    2424from sans.guiframe.events import EVT_NEW_PLOT 
     
    7777        self.size = None        
    7878        ## Graph         
    79         self.graph = Graph() 
     79        #self.graph = Graph() 
    8080        self.graph.xaxis("\\rm{Q}", 'A^{-1}') 
    8181        self.graph.yaxis("\\rm{Intensity} ", "cm^{-1}") 
     
    210210            self.plots[data.id] = data 
    211211            self.graph.add(self.plots[data.id])  
    212          
    213         x_label, x_unit = data.get_xaxis() 
    214         y_label, y_unit = data.get_yaxis() 
    215         self.graph.xaxis(x_unit, x_label) 
    216         self.graph.yaxis(y_unit, y_label) 
     212 
    217213        ## Set the view scale for all plots 
    218214        self._onEVT_FUNC_PROPERTY() 
Note: See TracChangeset for help on using the changeset viewer.