Changeset 34f23c8 in sasview for src/sas/sasgui/guiframe/local_perspectives/plotting/AnnulusSlicer.py
- Timestamp:
- Mar 20, 2019 8:06:22 AM (5 years ago)
- Branches:
- ticket-1249
- Children:
- 9305b46
- Parents:
- 09d7021
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/guiframe/local_perspectives/plotting/AnnulusSlicer.py
r5251ec6 r34f23c8 161 161 new_plot.detector = self.base.data2D.detector 162 162 # If the data file does not tell us what the axes are, just assume... 163 new_plot.xaxis( "\\rm{\phi}", 'degrees')164 new_plot.yaxis( "\\rm{Intensity} ", "cm^{-1}")165 if hasattr(data, "scale") and data.scale == 'linear' and \166 self.base.data2D.name.count("Residuals") > 0:163 new_plot.xaxis(r"\rm{\phi}", 'degrees') 164 new_plot.yaxis(r"\rm{Intensity} ", "cm^{-1}") 165 if (hasattr(data, "scale") and data.scale == 'linear' 166 and self.base.data2D.name.count("Residuals") > 0): 167 167 new_plot.ytransform = 'y' 168 new_plot.yaxis( "\\rm{Residuals} ", "/")168 new_plot.yaxis(r"\rm{Residuals} ", "/") 169 169 170 170 new_plot.group_id = "AnnulusPhi" + self.base.data2D.name
Note: See TracChangeset
for help on using the changeset viewer.