disipyl.mlabplots (version 1.2)
index
/home/pmagwene/data/pmag/pyth/disipyl/mlabplots.py

 Presents a MATLAB like interface for plotting.
 
-----------------------------------------------------------------------------
(c) Copyright by Paul M. Magwene, 2002  (mailto:paul.magwene@yale.edu)
 
    Permission to use, copy, modify, and distribute this software and its
    documentation for any purpose and without fee or royalty is hereby granted,
    provided that the above copyright notice appear in all copies and that
    both that copyright notice and this permission notice appear in
    supporting documentation or portions thereof, including modifications,
    that you make.
 
    THE AUTHOR PAUL M. MAGWENE DISCLAIMS ALL WARRANTIES WITH REGARD TO
    THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
    FITNESS, IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL,
    INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
    FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
    NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
    WITH THE USE OR PERFORMANCE OF THIS SOFTWARE !
-----------------------------------------------------------------------------

 
Modules
            
LinearAlgebra
MLab
Numeric
RandomArray
disipyl.contours
disipyl.plots
disipyl.pxdislin
 
Functions
            
plot(x, *args, **keywords)
Draws a 2D line plots.
 
Comments:
    * Multiple curves can be specified eg. plot(xlist1, ylist1, xlist2, ylist2, etc.)
    * Sets up default axis values based on first set of x,y values.
    * Will also accept a single sequence of complex values (sets up
        Argand Diagram like reperesentation).
    * Use keyword setting draw=0 to just return the plot object without
        first drawing the plot.
pseudocolor(M, draw=1)
Draws a psuedo-color representation of a matrix.
 
Comments:
    * Use keyword setting draw=0 to just return the plot object without
        first drawing the plot.
        
    * Routine actually inverts the ordering of the matrix so it is
    viewed as we generally think of matrices (i.e. with row indices
    increasing as we move down, and column indices increasing as we
    move to the right)
 
Data
             __author__ = 'Paul M. Magwene '
__credits__ = ''
__file__ = '/home/pmagwene/data/pmag/pyth/disipyl/mlabplots.py'
__name__ = 'disipyl.mlabplots'
__version__ = '$Revision: 1.1.1.1 $'
 
Author
             Paul M. Magwene <paul.magwene@yale.edu>
 
Credits