- Timestamp:
- 02/20/09 12:18:48 (16 years ago)
- Location:
- trunk/python
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/__init__.py
r1508 r1513 107 107 'plotter.histogram' : [False, _validate_bool], 108 108 'plotter.papertype' : ['A4', str], 109 'plotter.xaxisformatting' : ['asap', str], 109 110 110 111 # scantable … … 146 147 plotter.ganged : True 147 148 148 # decimate the number of points plotted by a afactor of149 # decimate the number of points plotted by a factor of 149 150 # nchan/1024 150 151 plotter.decimate : False … … 159 160 # ps paper type 160 161 plotter.papertype : A4 162 163 # The formatting style of the xaxis 164 plotter.xaxisformatting : 'asap' or 'mpl' 161 165 162 166 # scantable -
trunk/python/asaplotbase.py
r1479 r1513 620 620 self.subplots[i]['axes'] = self.figure.add_subplot(rows, 621 621 cols, i+1) 622 self.subplots[i]['axes'].xaxis.set_major_formatter(OldScalarFormatter()) 622 if asaprcParams['plotter.xaxisformatting'] == 'mpl': 623 self.subplots[i]['axes'].xaxis.set_major_formatter(OldScalarFormatter()) 623 624 else: 624 625 if i == 0: 625 626 self.subplots[i]['axes'] = self.figure.add_subplot(rows, 626 627 cols, i+1) 627 self.subplots[i]['axes'].xaxis.set_major_formatter(OldScalarFormatter()) 628 if asaprcParams['plotter.xaxisformatting'] != 'mpl': 629 630 self.subplots[i]['axes'].xaxis.set_major_formatter(OldScalarFormatter()) 628 631 else: 629 632 self.subplots[i]['axes'] = self.figure.add_subplot(rows,
Note:
See TracChangeset
for help on using the changeset viewer.