- Timestamp:
- Jul 27, 2018 6:13:43 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- c0de493
- Parents:
- 3f5b901
- git-author:
- Piotr Rozyczko <rozyczko@…> (07/27/18 06:12:52)
- git-committer:
- Piotr Rozyczko <rozyczko@…> (07/27/18 06:13:43)
- Location:
- src/sas/qtgui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/MainWindow/DataExplorer.py
r6ff103a rfce6c55 965 965 method_name='Plotter2D' 966 966 967 new_plot = globals()[method_name](self, quickplot=True)968 new_plot.data = data967 self.new_plot = globals()[method_name](self, quickplot=True) 968 self.new_plot.data = data 969 969 #new_plot.plot(marker='o') 970 new_plot.plot()970 self.new_plot.plot() 971 971 972 972 # Update the global plot counter 973 973 title = "Plot " + data.name 974 new_plot.setWindowTitle(title)974 self.new_plot.setWindowTitle(title) 975 975 976 976 # Show the plot 977 new_plot.show()977 self.new_plot.show() 978 978 979 979 def quickData3DPlot(self): … … 988 988 data = GuiUtils.dataFromItem(model_item) 989 989 990 new_plot = Plotter2D(self, quickplot=True, dimension=3)991 new_plot.data = data992 new_plot.plot()990 self.new_plot = Plotter2D(self, quickplot=True, dimension=3) 991 self.new_plot.data = data 992 self.new_plot.plot() 993 993 994 994 # Update the global plot counter 995 995 title = "Plot " + data.name 996 new_plot.setWindowTitle(title)996 self.new_plot.setWindowTitle(title) 997 997 998 998 # Show the plot 999 new_plot.show()999 self.new_plot.show() 1000 1000 1001 1001 def showEditDataMask(self, data=None): -
src/sas/qtgui/Plotting/Plotter2D.py
rd9150d8 rfce6c55 402 402 output = copy.deepcopy(data) 403 403 404 # get the x and y_bin arrays. 405 x_bins, y_bins = PlotUtilities.get_bins(self.qx_data, self.qy_data) 406 self._data.x_bins = x_bins 407 self._data.y_bins = y_bins 408 404 409 zmin_temp = self.zmin 405 410 # check scale
Note: See TracChangeset
for help on using the changeset viewer.