Changeset 622 for branches/Release-1-fixes/python
- Timestamp:
- 05/05/05 12:24:29 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Release-1-fixes/python/asapplotter.py
r605 r622 80 80 self.set_cursor(refresh=False) 81 81 if self._panelling == 't': 82 maxrows = 982 maxrows = 25 83 83 if self._data[0].nrow() > maxrows: 84 84 if self._cursor["t"] is None or \ … … 148 148 y = None 149 149 m = None 150 if not self._title:150 if self._title is None: 151 151 tlab = scan._getsourcename(rowsel) 152 152 else: 153 if len(self._title) == n:153 if len(self._title) >= n: 154 154 tlab = self._title[rowsel] 155 155 else: … … 169 169 ylab = self._ordinate 170 170 else: 171 ylab = 'Flux ('+scan.get_fluxunit()+')'171 ylab = scan._get_ordinate_label() 172 172 m = scan._getmask(rowsel) 173 173 if self._lmap and len(self._lmap) > 0: … … 206 206 if self._rows and self._cols: 207 207 n = min(n,self._rows*self._cols) 208 self._plotter.set_panel (rows=self._rows,cols=self._cols,208 self._plotter.set_panels(rows=self._rows,cols=self._cols, 209 209 nplots=n) 210 210 else: 211 self._plotter.set_panel (rows=n,cols=0,nplots=n)211 self._plotter.set_panels(rows=n,cols=0,nplots=n) 212 212 else: 213 213 self._plotter.set_panels() … … 255 255 ylab = self._ordinate 256 256 else: 257 ylab = 'Flux ('+scan.get_fluxunit()+')'257 ylab = scan._get_ordinate_label() 258 258 m = scan._getmask(rowsel) 259 259 if self._lmap and len(self._lmap) > 0: … … 354 354 ylab = self._ordinate 355 355 else: 356 ylab = 'Flux ('+scan.get_fluxunit()+')'356 ylab = scan._get_ordinate_label() 357 357 m = scan._getmask(rowsel) 358 358 if colmode == 's' or colmode == 't':
Note:
See TracChangeset
for help on using the changeset viewer.