Changeset 6d920cd in sasview for guiframe/local_perspectives/plotting
- Timestamp:
- Feb 27, 2009 8:52:28 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:
- ed2ea6a
- Parents:
- 8dddbd4
- Location:
- guiframe/local_perspectives/plotting
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/AnnulusSlicer.py
r18eba35 r6d920cd 122 122 rmax = max(math.fabs(self.inner_circle.get_radius()), 123 123 math.fabs(self.outer_circle.get_radius())) 124 print "rmin, rmax", rmin, rmax124 #print "rmin, rmax", rmin, rmax 125 125 if nbins==None: 126 126 nbins = 20 -
guiframe/local_perspectives/plotting/Plotter1D.py
r8bd764d r6d920cd 263 263 slicerpop.Append(id, '&Reset Graph') 264 264 wx.EVT_MENU(self, id, self.onResetGraph) 265 """ 266 slicerpop.AppendSeparator() 267 id = wx.NewId() 268 slicerpop.Append(id,'&Printer setup', 'Set image size') 269 wx.EVT_MENU(self, id, self.onPrinterSetup) 270 271 id = wx.NewId() 272 slicerpop.Append(id,'&Printer Preview', 'Set image size') 273 wx.EVT_MENU(self, id, self.onPrinterPreview) 274 """ 265 275 266 276 267 -
guiframe/local_perspectives/plotting/Plotter2D.py
r8bd764d r6d920cd 93 93 94 94 def _onEVT_SLICER_PARS(self, event): 95 print "paramaters entered on slicer panel", event.type, event.params95 #print "paramaters entered on slicer panel", event.type, event.params 96 96 self.slicer.set_params(event.params) 97 97 #from sans.guicomm.events import SlicerPanelEvent … … 247 247 slicerpop.AppendSeparator() 248 248 249 """ 250 # Option to save the data displayed 251 id = wx.NewId() 252 slicerpop.Append(id,'&Printer setup', 'Set image size') 253 wx.EVT_MENU(self, id, self.onPrinterSetup) 254 255 256 """ 249 257 250 id = wx.NewId() 258 251 slicerpop.Append(id, '&Toggle Linear/Log scale') … … 265 258 266 259 def _onEditDetector(self, event): 267 print "edit detortor param",self.zmin_2D, self.zmax_2D 260 """ 261 """ 262 #print "edit detortor param",self.zmin_2D, self.zmax_2D 268 263 import detector_dialog 269 264 dialog = detector_dialog.DetectorDialog(self, -1,base=self.parent) … … 286 281 287 282 dialog.Destroy() 288 print "zmn ,zmax", self.zmin_2D, self.zmax_2D283 #print "zmn ,zmax", self.zmin_2D, self.zmax_2D 289 284 self.image(data= self.data2D.data, 290 285 xmin= self.data2D.xmin, -
guiframe/local_perspectives/plotting/boxSum.py
r18eba35 r6d920cd 74 74 #print "box sum self.base.parent",self.base.parent 75 75 self.base.Bind(EVT_SLICER_PARS, self._onEVT_SLICER_PARS) 76 76 77 def set_panel_name(self, name): 77 78 self.panel_name= name 79 80 78 81 def _onEVT_SLICER_PARS(self, event): 79 82 wx.PostEvent(self.base.parent, StatusEvent(status="Boxsum._onEVT_SLICER_PARS")) 80 print "receiving value ",event.params83 #print "receiving value ",event.params 81 84 event.Skip() 82 85 if event.type == self.__class__.__name__: … … 157 160 y_min= self.vertical_lines.y2 158 161 y_max= self.vertical_lines.y1 159 print "xmin, xmax, ymin , ymax", x_min, x_max, y_min, y_max162 #print "xmin, xmax, ymin , ymax", x_min, x_max, y_min, y_max 160 163 box = Boxavg (x_min=x_min, x_max=x_max, y_min=y_min, y_max=y_max) 161 164 self.count, self.error = box(self.base.data2D) 162 print "box_sum output",box(self.base.data2D)165 #print "box_sum output",box(self.base.data2D) 163 166 164 167 def moveend(self, ev): -
guiframe/local_perspectives/plotting/plotting.py
r50cbace r6d920cd 108 108 is_available = True 109 109 110 111 110 panel._onEVT_1DREPLOT(event) 112 111 self.parent.show_panel(panel.uid) 113 print "went here for replottiing", event.plot.name112 #print "went here for replottiing", event.plot.name 114 113 115 114 else: … … 125 124 from Plotter1D import ModelPanel1D 126 125 if hasattr(event.plot,"xtransform"): 127 print "went here"126 #print "went here" 128 127 xtransform = event.plot.xtransform 129 128 else:
Note: See TracChangeset
for help on using the changeset viewer.