Changeset 7f59ee8e in sasview
- Timestamp:
- Apr 29, 2011 5:27:03 PM (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:
- fcf072d
- Parents:
- e7b6c9d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/SectorSlicer.py
r21969a4a r7f59ee8e 177 177 ## If the data file does not tell us what the axes are, just assume... 178 178 new_plot.xaxis("\\rm{Q}", "A^{-1}") 179 if hasattr(data, "scale"): 180 if data.scale == 'linear': 181 new_plot.ytransform = 'y' 182 new_plot.yaxis("\\rm{Residuals} ", "/") 183 else: 184 new_plot.yaxis("\\rm{Intensity} ", "cm^{-1}") 185 179 new_plot.yaxis("\\rm{Intensity}", "cm^{-1}") 180 if hasattr(data, "scale") and data.scale == 'linear': 181 new_plot.ytransform = 'y' 182 new_plot.yaxis("\\rm{Residuals} ", "/") 183 186 184 new_plot.group_id = "SectorQ" + self.base.data2D.name 187 185 new_plot.id = None
Note: See TracChangeset
for help on using the changeset viewer.