API Reference for Enthought Tool Suite 3.2.0
Contains the logic behind creating and configuring new plots from a set of user-supplied arguments.
color_re = re.compile('[ymcrgbwk]')
color_trans = { Const('y') : Const('yellow'), Const('m') : Const('magenta'), Const('c') : Const('cyan'), Const('r') : Const('red'), Const('g') : Const('green'), Const('b') : Const('blue'), Const('w') : Const('white'), Const('k') : Const('black') }
line_re = re.compile('--|-\\.|[-:]')
line_trans = { Const('-') : Const('solid'), Const(':') : Const('dot'), Const('-.') : Const('dot dash'), Const('--') : Const('dash') }
marker_re = re.compile('[ox+s^v]|(?:[^-])[.]')
marker_trans = { Const('.') : Const('dot'), Const('o') : Const('circle'), Const('x') : Const('cross'), Const('+') : Const('plus'), Const('s') : Const('square'), Const('^') : Const('triangle'), Const('v') : Const('down triangle') }
Creates a contour plot on the active plot, given a 2-D scalar data and a colormap.
Returns image file as array.
Creates an image plot on the active plot, given either a filename or data.
Creates a pseudocolor image plot on the active plot, given a 2-D scalar data and a colormap.
Takes a list of data (arrays or names) and format string arguments and creates new plots on the active_plot. Returns a list of plot names on the active plot.
Creates a list of plots from the data in *args and options in **kw, according to the docstring on commands.plot().
Given a list of arguments, returns a list of (index, value) datasources to create plots from.
| Local name | Refers to |
|---|---|
| all | numpy.all |
| arange | numpy.arange |
| array | numpy.array |
| ArrayDataSource | enthought.chaco.array_data_source.ArrayDataSource |
| asarray | numpy.asarray |
| ChacoShellError | enthought.chaco.shell.chaco_shell_error.ChacoShellError |
| create_line_plot | enthought.chaco.plot_factory.create_line_plot |
| create_scatter_plot | enthought.chaco.plot_factory.create_scatter_plot |
| HighlightTool | enthought.chaco.tools.highlight_tool.HighlightTool |
| ImageData | enthought.chaco.image_data.ImageData |
| re | re |
| reshape | numpy.reshape |
| shape | numpy.shape |
| transpose | numpy.transpose |
© Copyright 2002-2009 Enthought, Inc.