Changeset fcf072d in sasview
- Timestamp:
- Apr 29, 2011 5:43:37 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:
- dee097b
- Parents:
- 7f59ee8e
- Location:
- guiframe/local_perspectives/plotting
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/AnnulusSlicer.py
r21969a4a rfcf072d 160 160 # If the data file does not tell us what the axes are, just assume... 161 161 new_plot.xaxis("\\rm{\phi}", 'degrees') 162 if hasattr(data, "scale"): 163 if data.scale == 'linear': 164 new_plot.ytransform = 'y' 165 new_plot.yaxis("\\rm{Residuals} ", "/") 166 else: 167 new_plot.yaxis("\\rm{Intensity} ", "cm^{-1}") 162 new_plot.yaxis("\\rm{Intensity} ", "cm^{-1}") 163 if hasattr(data, "scale") and data.scale == 'linear' and \ 164 self.base.data2D.name.count("Residuals") > 0: 165 new_plot.ytransform = 'y' 166 new_plot.yaxis("\\rm{Residuals} ", "/") 168 167 169 168 new_plot.group_id = "AnnulusPhi" + self.base.data2D.name -
guiframe/local_perspectives/plotting/SectorSlicer.py
r7f59ee8e rfcf072d 178 178 new_plot.xaxis("\\rm{Q}", "A^{-1}") 179 179 new_plot.yaxis("\\rm{Intensity}", "cm^{-1}") 180 if hasattr(data, "scale") and data.scale == 'linear': 180 if hasattr(data, "scale") and data.scale == 'linear' and \ 181 self.base.data2D.name.count("Residuals") > 0: 181 182 new_plot.ytransform = 'y' 182 183 new_plot.yaxis("\\rm{Residuals} ", "/") -
guiframe/local_perspectives/plotting/boxSlicer.py
r21969a4a rfcf072d 190 190 ## If the data file does not tell us what the axes are, just assume... 191 191 new_plot.xaxis("\\rm{Q}", "A^{-1}") 192 if hasattr(self.base.data2D, "scale"): 193 if self.base.data2D.scale == 'linear': 194 new_plot.ytransform = 'y' 195 new_plot.yaxis("\\rm{Residuals} ", "/") 196 else: 197 new_plot.yaxis("\\rm{Intensity} ", "cm^{-1}") 192 new_plot.yaxis("\\rm{Intensity} ", "cm^{-1}") 193 194 data = self.base.data2D 195 if hasattr(data, "scale") and data.scale == 'linear' and \ 196 self.base.data2D.name.count("Residuals") > 0: 197 new_plot.ytransform = 'y' 198 new_plot.yaxis("\\rm{Residuals} ", "/") 199 198 200 new_plot.group_id = str(self.averager.__name__) + self.base.data2D.name 199 201 #new_plot.id = str(self.averager.__name__)
Note: See TracChangeset
for help on using the changeset viewer.