Changeset 5637362 in sasview for sansguiframe/src
- Timestamp:
- Sep 8, 2011 11:50:47 AM (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:
- f7ef313
- Parents:
- 904830e
- Location:
- sansguiframe/src/sans/guiframe/local_perspectives/plotting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/local_perspectives/plotting/Plotter1D.py
r902f373 r5637362 300 300 301 301 selected_plot = self.plots[self.graph.selected_plottable] 302 if self.hide_menu.GetText() == "Hide Error ":302 if self.hide_menu.GetText() == "Hide Error Bar": 303 303 selected_plot.hide_error = True 304 304 else: … … 414 414 self._slicerpop.AppendMenu(id, '&Modify Symbol Size', size_menu) 415 415 416 self._slicerpop.AppendSeparator() 417 418 self.hide_menu = self._slicerpop.Append(id, "Hide Error") 416 self.hide_menu = self._slicerpop.Append(id, "Hide Error Bar") 419 417 420 418 if plot.dy is not None and plot.dy != []: 421 419 if plot.hide_error : 422 self.hide_menu.SetText('Show Error ')420 self.hide_menu.SetText('Show Error Bar') 423 421 else: 424 self.hide_menu.SetText('Hide Error ')422 self.hide_menu.SetText('Hide Error Bar') 425 423 else: 426 424 self.hide_menu.Enable(False) … … 448 446 449 447 id = wx.NewId() 450 self._slicerpop.Append(id, '& ModifyY Axis Label')448 self._slicerpop.Append(id, '&Edit Y Axis Label') 451 449 wx.EVT_MENU(self, id, self._on_yaxis_label) 452 450 id = wx.NewId() 453 self._slicerpop.Append(id, '& ModifyX Axis Label')451 self._slicerpop.Append(id, '&Edit X Axis Label') 454 452 wx.EVT_MENU(self, id, self._on_xaxis_label) 453 454 id = wx.NewId() 455 self._slicerpop.Append(id, '&Toggle Grid On/Off', 'Toggle Grid On/Off') 456 wx.EVT_MENU(self, id, self.onGridOnOff) 455 457 self._slicerpop.AppendSeparator() 456 458 -
sansguiframe/src/sans/guiframe/local_perspectives/plotting/Plotter2D.py
re85e2bc r5637362 376 376 377 377 id = wx.NewId() 378 slicerpop.Append(id, '& ModifyY Axis Label')378 slicerpop.Append(id, '&Edit Y Axis Label') 379 379 wx.EVT_MENU(self, id, self._on_yaxis_label) 380 380 id = wx.NewId() 381 slicerpop.Append(id, '& ModifyX Axis Label')381 slicerpop.Append(id, '&Edit X Axis Label') 382 382 wx.EVT_MENU(self, id, self._on_xaxis_label) 383 id = wx.NewId() 384 slicerpop.Append(id, '&Toggle Grid On/Off', 'Toggle Grid On/Off') 385 wx.EVT_MENU(self, id, self.onGridOnOff) 383 386 slicerpop.AppendSeparator() 384 387
Note: See TracChangeset
for help on using the changeset viewer.