Changeset 3c6ecd9 in sasview for src/sas/qtgui/Plotting
- Timestamp:
- May 7, 2018 6:47:21 AM (7 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:
- 42787fb
- Parents:
- b0ba43e (diff), 80468f6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Location:
- src/sas/qtgui/Plotting
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/Plotter.py
reb1a386 rbb57068 13 13 from sas.qtgui.Plotting.LinearFit import LinearFit 14 14 from sas.qtgui.Plotting.PlotProperties import PlotProperties 15 from sas.qtgui.Plotting.ScaleProperties import ScaleProperties 15 16 16 17 import sas.qtgui.Utilities.GuiUtils as GuiUtils … … 74 75 is_fit = (self.data.id=="fit") 75 76 77 # make sure we have some function to operate on 78 if self.data.xtransform is None: 79 self.data.xtransform = 'log10(x)' 80 if self.data.ytransform is None: 81 self.data.ytransform = 'log10(y)' 82 76 83 # Transform data if required. 77 # TODO: it properly! 78 #if data.xtransform is not None or data.ytransform is not None: 79 # a, b, c, d = GuiUtils.xyTransform(self.data, self.data.xtransform, self.data.ytransform) 84 if self.data.xtransform is not None or self.data.ytransform is not None: 85 _, _, xscale, yscale = GuiUtils.xyTransform(self.data, self.data.xtransform, self.data.ytransform) 86 if xscale != 'log': 87 self.xscale = xscale 88 if yscale != 'log': 89 self.yscale = yscale 90 91 # Redefine the Scale properties dialog 92 self.properties = ScaleProperties(self, 93 init_scale_x=self.data.xtransform, 94 init_scale_y=self.data.ytransform) 80 95 81 96 # Shortcuts … … 276 291 if self.properties.exec_() == QtWidgets.QDialog.Accepted: 277 292 self.xLogLabel, self.yLogLabel = self.properties.getValues() 293 self.data.xtransform = self.xLogLabel 294 self.data.ytransform = self.yLogLabel 278 295 self.xyTransform(self.xLogLabel, self.yLogLabel) 279 296 -
src/sas/qtgui/Plotting/SlicerParameters.py
re90988c raed0532 86 86 Display generic data averaging help 87 87 """ 88 location = "/user/ sasgui/guiframe/graph_help.html#d-data-averaging"88 location = "/user/qtgui/MainWindow/graph_help.html#d-data-averaging" 89 89 self.parent.showHelp(location) 90 90 -
src/sas/qtgui/Plotting/ConvertUnits.py
- Property mode changed from 100644 to 100755
-
src/sas/qtgui/Plotting/DataTransform.py
- Property mode changed from 100644 to 100755
-
src/sas/qtgui/Plotting/Slicers/Arc.py
- Property mode changed from 100644 to 100755
Note: See TracChangeset
for help on using the changeset viewer.