Changeset 2175
- Timestamp:
- 05/18/11 16:35:55 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/flagplotter.py
r2173 r2175 116 116 plot.__doc__ = asapplotter.plot.__doc__ 117 117 118 @asaplog_post_dec 119 def _plot(self, scan): 120 asapplotter._plot(self,scan) 121 # rescale x-range of subplots 5% margins 122 ganged = (self._plotter.axes._sharex != None) 123 if ganged: 124 np = 1 125 else: 126 np = len(self._plotter.subplots) 127 for ip in xrange(np): 128 ax = self._plotter.subplots[ip]['axes'] 129 lim0 = ax.get_xlim() 130 offset = (lim0[1]-lim0[0])*0.05 131 ax.set_xlim(lim0[0]-offset,lim0[1]+offset) 132 del ax, lim0, offset 133 _plot.__doc__ = asapplotter._plot.__doc__ 134 118 135 def _is_new_scan(self,scan): 119 136 if isinstance(scan, scantable):
Note:
See TracChangeset
for help on using the changeset viewer.