- Timestamp:
- 09/27/12 14:10:27 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asapplotter.py
r2608 r2650 209 209 linestyle=0,linestyles=self._linestyles) 210 210 self._plotter.legend(self._legendloc) 211 212 211 self._plot(self._data) 213 212 if self._minmaxy is not None: … … 981 980 'r': int}#, '_r': int} 982 981 983 polmodes = dict(zip(self._selection.get_pols(), 984 self._selection.get_poltypes())) 982 polmodes = dict(zip(sel.get_pols(), sel.get_poltypes())) 985 983 # this returns either a tuple of numbers or a length (ncycles) 986 984 # convert this into lengths … … 1015 1013 n = min(n,self._rows*self._cols) 1016 1014 self._plotter.set_panels(rows=self._rows,cols=self._cols, 1017 nplots=n,margin=self._margins,ganged=ganged) 1015 nplots=n,margin=self._margins, 1016 ganged=ganged) 1018 1017 else: 1019 1018 n = min(n,maxpanel) 1020 self._plotter.set_panels(rows=n,cols=0,nplots=n,margin=self._margins,ganged=ganged) 1019 self._plotter.set_panels(rows=n,cols=0,nplots=n, 1020 margin=self._margins,ganged=ganged) 1021 1021 else: 1022 1022 self._plotter.set_panels(margin=self._margins) … … 1073 1073 1074 1074 #if (b > b0 or newpanel) and stackcount < nstack: 1075 if stackcount < nstack and (newpanel or rowstack or (a == a0 and b > b0)): 1075 if stackcount < nstack and (newpanel or \ 1076 rowstack or (a == a0 and b > b0)): 1076 1077 y = [] 1077 1078 if len(polmodes): … … 1216 1217 if order: 1217 1218 self._selection.set_order(order) 1218 if refresh and self._data: self.plot(self._data) 1219 if refresh and self._data: 1220 self.plot() 1219 1221 1220 1222 def _get_selected_n(self, scan):
Note:
See TracChangeset
for help on using the changeset viewer.