Changeset e4032d64 in sasview
- Timestamp:
- Jan 13, 2009 5:49:53 PM (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:
- d15c0202
- Parents:
- ac9a5f6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/AnnulusSlicer.py
rac9a5f6 re4032d64 110 110 rmin= self.inner_circle.get_radius() 111 111 rmax = self.outer_circle.get_radius() 112 sect = SectorPhi(r_min=rmin , r_max= rmax, phi_min=-1*math.pi, phi_max=math.pi) 112 phi_min=-math.pi 113 phi_max=math.pi 114 phimi=phi_min+math.pi 115 phima=phi_max+math.pi 116 sect = SectorPhi(r_min=rmin , r_max= rmax, phi_min=phimi, phi_max=phima) 113 117 if nbins!=None: 114 118 sect.nbins = nbins … … 130 134 131 135 132 136 133 137 new_plot.source=self.base.data2D.source 134 138 #new_plot.info=self.base.data2D.info … … 137 141 new_plot.detector =self.base.data2D.detector 138 142 # If the data file does not tell us what the axes are, just assume... 139 new_plot.xaxis("\\rm{ Q}", 'rad')143 new_plot.xaxis("\\rm{\phi}", 'rad') 140 144 new_plot.yaxis("\\rm{Intensity} ","cm^{-1}") 141 145 new_plot.group_id = "SectorPhi"+self.base.data2D.name 146 142 147 wx.PostEvent(self.base.parent, NewPlotEvent(plot=new_plot, 143 148 title="SectorPhi" )) … … 239 244 linestyle='-', marker='', 240 245 color=self.color) 241 self.npts = 20246 self.npts = 40 242 247 243 248 self.connect_markers([self.inner_marker])
Note: See TracChangeset
for help on using the changeset viewer.