Changeset 7625f49 in sasview


Ignore:
Timestamp:
Aug 16, 2011 4:01:06 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:
d66196a
Parents:
50282f8
Message:

changed theory 1d to data1d

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansguiframe/src/sans/guiframe/local_perspectives/plotting/profile_dialog.py

    r8c347a6 r7625f49  
    77from danse.common.plottools.plottables import Graph 
    88from Plotter1D import ModelPanel1D as PlotPanel 
    9 from sans.guiframe.dataFitting import Theory1D 
     9from sans.guiframe.dataFitting import Data1D 
    1010import pylab 
    1111 
     
    6868            data_plot.y = self._set_y_data() 
    6969             
    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) 
    7171            self.newplot.dy = None 
    7272            self.newplot.name = 'SLD' 
     73            self.newplot.symbol = 13 
    7374            self.plotpanel.add_image(self.newplot)  
    7475            self.plotpanel.subplot.set_ylim(min(data_plot.y) - _Y_OFF ,  
     
    192193    def add_image(self, plot): 
    193194        """ 
    194         Add image(Theory1D) 
     195        Add image(Data1D) 
    195196        """ 
    196197        self.plots[plot.name] = plot 
Note: See TracChangeset for help on using the changeset viewer.