Changeset 622


Ignore:
Timestamp:
05/05/05 12:24:29 (19 years ago)
Author:
mar637
Message:

fixed a typo introduced in last revision.
fixed asap0019

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Release-1-fixes/python/asapplotter.py

    r605 r622  
    8080                self.set_cursor(refresh=False)
    8181        if self._panelling == 't':
    82             maxrows = 9
     82            maxrows = 25
    8383            if self._data[0].nrow() > maxrows:
    8484                if self._cursor["t"] is None or \
     
    148148                y = None
    149149                m = None
    150                 if not self._title:
     150                if self._title is None:
    151151                    tlab = scan._getsourcename(rowsel)                   
    152152                else:
    153                     if len(self._title) == n:
     153                    if len(self._title) >= n:
    154154                        tlab = self._title[rowsel]
    155155                    else:
     
    169169                    ylab = self._ordinate
    170170                else:
    171                     ylab = 'Flux ('+scan.get_fluxunit()+')'
     171                    ylab = scan._get_ordinate_label()
    172172                m = scan._getmask(rowsel)
    173173                if self._lmap and len(self._lmap) > 0:
     
    206206            if self._rows and self._cols:
    207207                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,
    209209                                         nplots=n)
    210210            else:
    211                 self._plotter.set_panel(rows=n,cols=0,nplots=n)
     211                self._plotter.set_panels(rows=n,cols=0,nplots=n)
    212212        else:
    213213            self._plotter.set_panels()
     
    255255                    ylab = self._ordinate
    256256                else:
    257                     ylab = 'Flux ('+scan.get_fluxunit()+')'
     257                    ylab = scan._get_ordinate_label()
    258258                m = scan._getmask(rowsel)
    259259                if self._lmap and len(self._lmap) > 0:
     
    354354                    ylab = self._ordinate
    355355                else:
    356                     ylab = 'Flux ('+scan.get_fluxunit()+')'
     356                    ylab = scan._get_ordinate_label()
    357357                m = scan._getmask(rowsel)
    358358                if colmode == 's' or colmode == 't':
Note: See TracChangeset for help on using the changeset viewer.