Changeset 3562fbc in sasview for guiframe/local_perspectives/plotting
- Timestamp:
- Feb 23, 2010 2:11:28 PM (15 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:
- b324aa9
- Parents:
- 4cf7443
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/Plotter2D.py
r0f3fefe r3562fbc 516 516 event = self._getEmptySlicerEvent() 517 517 wx.PostEvent(self, event) 518 519 520 def _onToggleScale(self, event): 521 """ 522 toggle scale and replot image 523 """ 524 if self.scale == 'log': 525 self.scale = 'linear' 526 else: 527 self.scale = 'log' 528 self.image(self.data2D.data,self.xmin_2D,self.xmax_2D,self.ymin_2D, 529 self.ymax_2D,self.zmin_2D ,self.zmax_2D ) 530 531 self.subplot.figure.canvas.draw_idle() 518
Note: See TracChangeset
for help on using the changeset viewer.