Changeset b4da6df in sasview
- Timestamp:
- Jan 25, 2012 4:15:38 PM (13 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:
- b5b2e5b
- Parents:
- d2843a9
- Location:
- plottools/src/danse/common/plottools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plottools/src/danse/common/plottools/PlotPanel.py
r52e0f2d rb4da6df 739 739 self.xLabel = "x^(2)" 740 740 self.yLabel = "ln(y)" 741 self.viewModel = "--" 742 dial.setValues(self.xLabel, self.yLabel, self.viewModel) 743 if self.viewModel == "Porod y*x^(4) vs x^(4)": 744 self.xLabel = "x^(4)" 745 self.yLabel = "y*x^(4)" 741 746 self.viewModel = "--" 742 747 dial.setValues(self.xLabel, self.yLabel, self.viewModel) … … 1854 1859 item.transformY(transform.toLogX,transform.errToLogX ) 1855 1860 self.graph._yaxis_transformed("\ln\ \ %s" % yname, "%s" % yunits) 1861 if(self.viewModel == "Porod y*x^(4) vs x^(4)"): 1862 item.transformX(transform.toX4, transform.errToX4) 1863 xunits = convertUnit(4, self.xaxis_unit) 1864 self.graph._xaxis_transformed("%s^{4}" % xname, "%s" % xunits) 1865 item.transformY(transform.toYX4, transform.errToYX4) 1866 self.graph._yaxis_transformed("%s \ \ %s^{4}" % (yname,xname), 1867 "%s%s" % (yunits,xunits)) 1856 1868 item.transformView() 1857 1869 -
plottools/src/danse/common/plottools/PropertyDialog.py
r8d27cac rb4da6df 81 81 self.view.Insert("--", 0) 82 82 self.view.Insert("Guinier lny vs x^(2)", 1) 83 self.view.Insert("Porod y*x^(4) vs x^(4)", 2) 83 84 self.SetSizer(vbox) 84 85 self.Fit()
Note: See TracChangeset
for help on using the changeset viewer.