Changeset 7625f49 in sasview for sansguiframe
- Timestamp:
- Aug 16, 2011 6:01:06 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:
- d66196a
- Parents:
- 50282f8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/local_perspectives/plotting/profile_dialog.py
r8c347a6 r7625f49 7 7 from danse.common.plottools.plottables import Graph 8 8 from Plotter1D import ModelPanel1D as PlotPanel 9 from sans.guiframe.dataFitting import Theory1D9 from sans.guiframe.dataFitting import Data1D 10 10 import pylab 11 11 … … 68 68 data_plot.y = self._set_y_data() 69 69 70 self.newplot = Theory1D(data_plot.x, data_plot.y, data_plot.dy)70 self.newplot = Data1D(data_plot.x, data_plot.y, data_plot.dy) 71 71 self.newplot.dy = None 72 72 self.newplot.name = 'SLD' 73 self.newplot.symbol = 13 73 74 self.plotpanel.add_image(self.newplot) 74 75 self.plotpanel.subplot.set_ylim(min(data_plot.y) - _Y_OFF , … … 192 193 def add_image(self, plot): 193 194 """ 194 Add image( Theory1D)195 Add image(Data1D) 195 196 """ 196 197 self.plots[plot.name] = plot
Note: See TracChangeset
for help on using the changeset viewer.