Changeset 600
- Timestamp:
- 04/29/05 14:03:37 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asapplotter.py
r557 r600 68 68 if self._plotter.is_dead: 69 69 self._plotter = ASAPlot() 70 self._plotter.hold() 70 71 self._plotter.clear() 71 self._plotter.hold()72 72 if len(args) > 0: 73 73 if self._data is not None: … … 108 108 if self._stacking is not None: 109 109 ncol = eval(self._cdict.get(colmode)) 110 self._plotter.set_panels()111 110 if n > 1: 112 111 if self._rows and self._cols: … … 116 115 else: 117 116 self._plotter.set_panels(rows=n,cols=0,nplots=n) 117 else: 118 self._plotter.set_panels() 118 119 rows = self._cursor["t"] 119 120 self._plotter.palette(1) … … 206 207 scan = scans[0] 207 208 ncol = eval(self._cdict.get(colmode)) 208 self._plotter.set_panels()209 209 if n > 1: 210 210 if self._rows and self._cols: … … 214 214 else: 215 215 self._plotter.set_panel(rows=n,cols=0,nplots=n) 216 else: 217 self._plotter.set_panels() 216 218 for scan in scans: 217 219 self._plotter.palette(1) … … 299 301 if self._stacking is not None: 300 302 ncol = eval(self._cdict.get(colmode)) 301 self._plotter.set_panels()302 303 if n > 1: 303 304 if self._rows and self._cols: … … 307 308 else: 308 309 self._plotter.set_panels(rows=n,cols=0,nplots=n) 310 else: 311 self._plotter.set_panels() 309 312 panels = self._cursor[self._panelling] 310 313 for i in panels: … … 485 488 if xstart is None and xend is None: 486 489 self._minmaxx = None 487 if self._data: self.plot()488 return490 else: 491 self._minmaxx = [xstart,xend] 489 492 if ystart is None and yend is None: 490 493 self._minmaxy = None 491 if self._data: self.plot() 492 return 493 self._minmaxx = [xstart,xend] 494 self._minmaxy = [ystart,yend] 494 else: 495 self._minmaxy = [ystart,yend] 495 496 if self._data: self.plot() 496 497 return
Note:
See TracChangeset
for help on using the changeset viewer.