Changeset ef6d1d8 in sasview for src/sas/sasgui/plottools/PlotPanel.py
- Timestamp:
- Sep 15, 2016 6:33:57 AM (8 years ago)
- Branches:
- 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
- Children:
- d9afe942
- Parents:
- aa6028c
- git-author:
- Lewis O'Driscoll <lewis.o'driscoll@…> (08/10/16 09:39:28)
- git-committer:
- Piotr Rozyczko <rozyczko@…> (09/15/16 06:33:57)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/plottools/PlotPanel.py
raa6028c ref6d1d8 731 731 self.xLabel = "x^(4)" 732 732 self.yLabel = "y*x^(4)" 733 self.viewModel = "--" 734 dial.setValues(self.xLabel, self.yLabel, self.viewModel) 735 if self.viewModel == "Kratky y*x^(2) vs x": 736 self.xLabel = "x" 737 self.yLabel = "y*x^(2)" 733 738 self.viewModel = "--" 734 739 dial.setValues(self.xLabel, self.yLabel, self.viewModel) … … 1821 1826 yunits = convert_unit(-1, yunits) 1822 1827 self.graph._yaxis_transformed("1/%s" % yname, "%s" % yunits) 1828 if self.yLabel == "y*x^(2)": 1829 set_ylim = True 1830 item.transformY(transform.toYX2, transform.errToYX2) 1831 xunits = convert_unit(4, self.xaxis_unit) 1832 self.graph._yaxis_transformed("%s \ \ %s^{2}" % (yname, xname), 1833 "%s%s" % (yunits, xunits)) 1823 1834 if self.yLabel == "y*x^(4)": 1824 1835 set_ylim = True
Note: See TracChangeset
for help on using the changeset viewer.