Changeset 9f5c8bb in sasview for guiframe/local_perspectives
- Timestamp:
- Jun 30, 2011 1:22:16 PM (13 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/Plotter1D.py
r09a9660 r9f5c8bb 20 20 21 21 from danse.common.plottools.PlotPanel import PlotPanel 22 from danse.common.plottools.plottables import Graph22 #from danse.common.plottools.plottables import Graph 23 23 from sans.guiframe import dataFitting 24 24 from sans.guiframe.events import EVT_NEW_PLOT … … 77 77 self.size = None 78 78 ## Graph 79 self.graph = Graph()79 #self.graph = Graph() 80 80 self.graph.xaxis("\\rm{Q}", 'A^{-1}') 81 81 self.graph.yaxis("\\rm{Intensity} ", "cm^{-1}") … … 210 210 self.plots[data.id] = data 211 211 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 217 213 ## Set the view scale for all plots 218 214 self._onEVT_FUNC_PROPERTY()
Note: See TracChangeset
for help on using the changeset viewer.