Changeset 734


Ignore:
Timestamp:
11/24/05 14:13:19 (18 years ago)
Author:
mar637
Message:

doc update
make use of rcParamplotter.gui?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapplotter.py

    r710 r734  
    1111        other variables.
    1212    """
    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
    1617        self._plotter = self._newplotter()
    1718
     
    627628    def set_linestyles(self, linestyles):
    628629        """
     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.
    629633        Parameters:
    630634             linestyles:     a list of linestyles to use.
     
    633637                             possible
    634638
    635         Set the linestyles to be used. The plotter will cycle through
    636         these linestyles when lines are overlaid (stacking mode) AND
    637         only one color has been set.
    638639        Example:
    639640             plotter.set_colors("black")
     
    768769
    769770    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        """
    770780        if not self._data:
    771781            print "Can only set cursor after a first call to plot()"
Note: See TracChangeset for help on using the changeset viewer.