Changeset d0ecb36 in sasview
- Timestamp:
- Jan 31, 2011 7:57:11 AM (14 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:
- d603001
- Parents:
- ed8ad21
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/plotting.py
r3feed3e rd0ecb36 118 118 ##Create a new plotpanel for 2D data 119 119 from Plotter2D import ModelPanel2D 120 if hasattr(event.plot, "scale"): 121 scale = event.plot.scale 122 else: 123 scale = 'log' 120 124 new_panel = ModelPanel2D(self.parent, id = -1, 121 data2d=event.plot, style=wx.RAISED_BORDER) 125 data2d=event.plot, scale = scale, 126 style=wx.RAISED_BORDER) 122 127 ## Set group ID if available 123 128 ## Assign data properties to the new create panel
Note: See TracChangeset
for help on using the changeset viewer.