__init__ (version 0.3.1.1) | index __init__.py |
Interactive graphing procedures.
Provide a package of basic plotting procedures to use for explora-
tory data analysis (as opposed to publication quality graphics).
The syntax is based upon IDL syntax and the procedures in this
package are designed to be called in a single line.
Key Package Procedures:
* active2gif: Output the active VCS canvas to GIF file.
* active2ps: Output the active VCS canvas to Postscript file.
* contour: 2-D line and smooth filled contour plots to active
VCS canvas, replacing any existing active canvas.
* loadct: Load additional predefined color tables.
* ocontour: Overplot contour plot.
* oplot: Overplot x-y line plot.
* plot: Make x-y line plot. This procedure is able to construct
the plot even if CDAT is not installed, though the output will
not be available to write to hard-copy. If CDAT is present, the
plot is output to the active VCS canvas, replacing any existing
active canvas.
* plotct: Plot a color table to the active VCS canvas, replacing
any existing active canvas.
* window: Sets the active canvas to a specified window number.
The default active canvas is labeled window 0.
Additional Package Helper Functions:
* wavelen2rgb: Returns the RGB values (for an arbitrary 0 to
maximum intensity range) for visible light given the wavelength
in nm.
The package is written such that a single command "from IaGraph
import *" will import all "key package procedures" in the package
by name. Thus, the plot procedure will be available as "plot",
without specifying either module or package name. The "helper
functions" are not automatically imported; specify the full import
name (e.g. from IaGraph.wavelen2rgb import wavelen2rgb) in order
to use them.
All modules in this package each only contain one function, and
the function name is the same as the module name. Thus, the module
"plot" contains one procedure, also named "plot".
Some useful online help commands for the package:
* help(IaGraph): Help for the package. A list of all modules in
this package is found in the "Package Contents" section of the
help output.
* help(IaGraph.M): Details of each module "M", where "M" is the
module's name. Examples on using each function is provided in
the docstrings of the respective modules.
Modules | ||||||
|
Classes | ||||||||||
|
Data | ||
__all__ = ['active2gif', 'active2ps', 'contour', 'loadct', 'ocontour', 'oplot', 'plot', 'plotct', 'wavelen2rgb', 'window'] __test__ = {'Additional Example 1': '\n >>> import IaGraph\n >>> a = IaGraph.Sysvar()\n >>> a.__class__.x_font\n 1\n '} __version__ = '0.3.1.1' |