Changeset 1018 for trunk/python
- Timestamp:
- 04/18/06 15:54:44 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asapplotter.py
r1002 r1018 89 89 self._plot(self._data) 90 90 if self._minmaxy is not None: 91 print "setting limits"92 91 self._plotter.set_limits(ylim=self._minmaxy) 93 92 self._plotter.release() … … 397 396 a0,b0 = -1,-1 398 397 allxlim = [] 398 allylim = [] 399 399 newpanel=True 400 400 panelcount,stackcount = 0,0 … … 458 458 xlim= self._minmaxx or [min(x),max(x)] 459 459 allxlim += xlim 460 ylim= self._minmaxy or [min(y),max(y)] 461 allylim += ylim 460 462 stackcount += 1 461 463 # last in colour stack -> autoscale x … … 471 473 # ignore following rows 472 474 if (panelcount == n) and (stackcount == nstack): 475 # last panel -> autoscale y if ganged 476 if rcParams['plotter.ganged']: 477 allylim.sort() 478 self._plotter.set_limits(ylim=[allylim[0],allylim[-1]]) 473 479 break 474 480 r+=1 # next row
Note:
See TracChangeset
for help on using the changeset viewer.