Changeset dd66fbd in sasview for guiframe/local_perspectives/plotting
- Timestamp:
- Feb 16, 2009 6:53:18 PM (16 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:
- f69bc394
- Parents:
- 8f274b11
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/Plotter1D.py
r9a585d0 rdd66fbd 226 226 #print "cyllinder before adding error", self.plots[self.graph.selected_plottable].x 227 227 wx.EVT_MENU(self, id, self._on_add_errors) 228 elif self.plots[self.graph.selected_plottable].__class__.__name__=="Data1D": 229 id = wx.NewId() 230 slicerpop.Append(id, '&Remove errors From data') 231 #print "panel scale before ",self.xLabel, self.yLabel 232 #print "cyllinder before adding error", self.plots[self.graph.selected_plottable].x 233 wx.EVT_MENU(self, id, self._on_remove_errors) 228 """ 229 elif self.plots[self.graph.selected_plottable].__class__.__name__=="Data1D": 230 id = wx.NewId() 231 slicerpop.Append(id, '&Remove errors From data') 232 #print "panel scale before ",self.xLabel, self.yLabel 233 #print "cyllinder before adding error", self.plots[self.graph.selected_plottable].x 234 wx.EVT_MENU(self, id, self._on_remove_errors) 235 """ 234 236 else: 235 237 id = wx.NewId() … … 285 287 self.graph.delete_plottable(self.plots[self.graph.selected_plottable]) 286 288 287 self.graph.add _plottable(new_plot,color)289 self.graph.add(new_plot,color) 288 290 # transforming the view of the new data into the same of the previous data 289 291 self._onEVT_FUNC_PROPERTY() … … 332 334 new_plot.yaxis(label, unit) 333 335 #print "panel scale ",self.xLabel, self.yLabel 334 color=self.graph.plottables[self.plots[self.graph.selected_plottable]]336 #color=self.graph.plottables[self.plots[self.graph.selected_plottable]] 335 337 self.graph.delete_plottable(self.plots[self.graph.selected_plottable]) 336 self.graph.add_plottable(new_plot, color)337 #self.graph.add(new_plot)338 #self.graph.add_plottable(new_plot, color) 339 self.graph.add(new_plot) 338 340 # transforming the view of the new data into the same of the previous data 339 341 self._onEVT_FUNC_PROPERTY()
Note: See TracChangeset
for help on using the changeset viewer.