Changeset 7e3d422 in sasview for sansguiframe/src


Ignore:
Timestamp:
Aug 19, 2011 2:14:08 PM (13 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:
c03fb16
Parents:
bc73c99f
Message:

update profile_dialog

File:
1 edited

Legend:

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

    r7625f49 r7e3d422  
    88from Plotter1D import ModelPanel1D as PlotPanel 
    99from sans.guiframe.dataFitting import Data1D 
     10from sans.guiframe.gui_style import GUIFRAME_ID 
    1011import pylab 
    1112 
     
    6970             
    7071            self.newplot = Data1D(data_plot.x, data_plot.y, data_plot.dy) 
     72            self.new_plot.symbol = GUIFRAME_ID.CURVE_SYMBOL_NUM 
    7173            self.newplot.dy = None 
    7274            self.newplot.name = 'SLD' 
    73             self.newplot.symbol = 13 
    7475            self.plotpanel.add_image(self.newplot)  
    7576            self.plotpanel.subplot.set_ylim(min(data_plot.y) - _Y_OFF ,  
     
    193194    def add_image(self, plot): 
    194195        """ 
    195         Add image(Data1D) 
     196        Add image(Theory1D) 
    196197        """ 
    197198        self.plots[plot.name] = plot 
Note: See TracChangeset for help on using the changeset viewer.