- Timestamp:
- Apr 1, 2014 12:40:50 PM (11 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:
- eddb6ec
- Parents:
- 3ee654e
- Location:
- src/sans/plottools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sans/plottools/PlotPanel.py
rb9f6d83 r8817d07 1897 1897 self.graph._yaxis_transformed("%s \ \ %s^{4}" % (yname, xname), 1898 1898 "%s%s" % (yunits, xunits)) 1899 if(self.viewModel == "Kratky y*x^(2) vs x"): 1900 item.transformY(transform.toYX2, transform.errToYX2) 1901 self.graph._yaxis_transformed("%s \ \ %s^{2}" % (yname, xname), 1902 "%s%s" % (yunits, xunits)) 1903 1899 1904 item.transformView() 1900 1905 -
src/sans/plottools/PropertyDialog.py
ra9d5684 r8817d07 81 81 self.view.Insert("XS Guinier ln(y*x) vs x^(2)", 3) 82 82 self.view.Insert("Porod y*x^(4) vs x^(4)", 4) 83 self.view.Insert("Kratky y*x^(2) vs x",5) 83 84 self.SetSizer(vbox) 84 85 self.Fit() -
src/sans/plottools/transform.py
ra9d5684 r8817d07 135 135 return math.pow(x, 4) * y 136 136 137 def toYX2(y, x): 138 """ 139 """ 140 return math.pow(x, 2) * y 137 141 138 142 def toLogXY(y, x):
Note: See TracChangeset
for help on using the changeset viewer.