Changeset 240c805 in sasview
- Timestamp:
- Jan 15, 2009 9:35:52 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:
- 7ce4862
- Parents:
- f15ed33
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/Plotter2D.py
rf15ed33 r240c805 242 242 self.PopupMenu(slicerpop, pos) 243 243 244 def _setSlicer(self, slicer): 245 # Clear current slicer 246 #printEVT("Plotter2D._setSlicer %s" % slicer) 247 248 if not self.slicer == None: 249 self.slicer.clear() 250 251 self.slicer_z += 1 252 self.slicer = slicer(self, self.subplot, zorder=self.slicer_z) 253 self.subplot.set_ylim(-self.qmax, self.qmax) 254 self.subplot.set_xlim(-self.qmax, self.qmax) 255 self.update() 256 self.slicer.update() 244 257 245 258 246 … … 306 294 self.slicer = slicer(self, self.subplot, zorder=self.slicer_z) 307 295 print "come here" 308 #self.subplot.set_ylim(self.data2D.ymin, self.data2D.ymax) 309 #self.subplot.set_xlim(self.data2D.xmin, self.data2D.xmax) 310 """ 311 self.subplot.set_ylim(-self.qmax, self.qmax) 312 self.subplot.set_xlim(-self.qmax, self.qmax) 313 """ 296 self.subplot.set_ylim(self.data2D.ymin, self.data2D.ymax) 297 self.subplot.set_xlim(self.data2D.xmin, self.data2D.xmax) 298 314 299 self.update() 315 300 self.slicer.update()
Note: See TracChangeset
for help on using the changeset viewer.