Changes in src/sas/qtgui/Calculators/GenericScatteringCalculator.py [8c85ac1:133812c7] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Calculators/GenericScatteringCalculator.py
r8c85ac1 r133812c7 661 661 data.xaxis('\\rm{Q_{x}}', '\AA^{-1}') 662 662 data.yaxis('\\rm{Intensity}', 'cm^{-1}') 663 663 plot1D = Plotter(self, quickplot=True) 664 plot1D.plot(data) 665 plot1D.show() 664 666 self.graph_num += 1 667 # TODO 668 print('TRANSFER OF DATA TO MAIN PANEL TO BE IMPLEMENTED') 669 return plot1D 665 670 else: 666 671 numpy.nan_to_num(self.data_to_plot) … … 674 679 data.title = "GenSAS {} #{} 2D".format(self.file_name, 675 680 int(self.graph_num)) 676 zeros = numpy.ones(data.data.size, dtype=bool)677 data.mask = zeros678 681 plot2D = Plotter2D(self, quickplot=True) 682 plot2D.plot(data) 683 plot2D.show() 679 684 self.graph_num += 1 680 685 # TODO 681 new_item = GuiUtils.createModelItemWithPlot(data, name=data.title)682 self.communicator.updateModelFromPerspectiveSignal.emit(new_item)683 self.communicator.forcePlotDisplaySignal.emit([new_item, data]) 686 print('TRANSFER OF DATA TO MAIN PANEL TO BE IMPLEMENTED') 687 return plot2D 688 684 689 685 690 class Plotter3DWidget(PlotterBase):
Note: See TracChangeset
for help on using the changeset viewer.