Changeset fbd0bece in sasview for guiframe/local_perspectives
- Timestamp:
- Jan 21, 2009 9:13:34 AM (16 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:
- b2c6d23
- Parents:
- f55af70
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/SectorSlicer.py
rffd23b5 rfbd0bece 26 26 _BaseInteractor.__init__(self, base, axes, color=color) 27 27 self.markers = [] 28 self.axes = axes 29 self.qmax = math.sqrt( (max(self.base.data2D.xmax,abs(self.base.data2D.xmin)))**2+(max(self.base.data2D.xmax,abs(self.base.data2D.xmin)))**2)30 print "sector qmax", self.qmax28 self.axes = axes 29 self.qmax = math.sqrt(math.pow(max(self.base.data2D.xmax,abs(self.base.data2D.xmin)),2)+math.pow(max(self.base.data2D.xmax,abs(self.base.data2D.xmin)),2)) 30 #print "sector qmax", self.qmax 31 31 self.connect = self.base.connect 32 32 … … 178 178 #new_plot.info=self.base.data2D.info 179 179 new_plot.interactive = True 180 #print "loader output.detector", output.source180 #print "loader output.detector",self.base.data2D.info,output.source, 181 181 new_plot.detector =self.base.data2D.detector 182 #print "loader output.detector",new_plot.detector 182 183 # If the data file does not tell us what the axes are, just assume... 183 184 new_plot.xaxis("\\rm{Q}", 'A^{-1}') 184 185 new_plot.yaxis("\\rm{Intensity} ","cm^{-1}") 185 186 new_plot.group_id = "SectorQ"+self.base.data2D.name 186 new_plot.xtransform = "ln(x)"187 187 wx.PostEvent(self.base.parent, NewPlotEvent(plot=new_plot, 188 title="SectorQ" ))188 title="SectorQ"+self.base.data2D.name )) 189 189 190 190
Note: See TracChangeset
for help on using the changeset viewer.