Changeset 734
- Timestamp:
- 11/24/05 14:13:19 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asapplotter.py
r710 r734 11 11 other variables. 12 12 """ 13 def __init__(self, visible=True): 14 15 self._visible = visible 13 def __init__(self, visible=None): 14 self._visible = rcParams['plotter.gui'] 15 if visible is not None: 16 self._visible = visible 16 17 self._plotter = self._newplotter() 17 18 … … 627 628 def set_linestyles(self, linestyles): 628 629 """ 630 Set the linestyles to be used. The plotter will cycle through 631 these linestyles when lines are overlaid (stacking mode) AND 632 only one color has been set. 629 633 Parameters: 630 634 linestyles: a list of linestyles to use. … … 633 637 possible 634 638 635 Set the linestyles to be used. The plotter will cycle through636 these linestyles when lines are overlaid (stacking mode) AND637 only one color has been set.638 639 Example: 639 640 plotter.set_colors("black") … … 768 769 769 770 def set_mask(self, mask=None, pol=None): 771 """ 772 Set a plotting mask for a specific polarization. 773 This is useful for masking out "noise" Pangle outside a source. 774 Parameters: 775 mask: a mask from scantable.create_mask 776 pol: the polarisation to apply the mask to, e.g 777 "Pangle" or "XX" etc. 778 Example: 779 """ 770 780 if not self._data: 771 781 print "Can only set cursor after a first call to plot()"
Note:
See TracChangeset
for help on using the changeset viewer.