topo :: command :: pylabplots :: vectorplot :: Class vectorplot
[hide private]
[frames] | no frames]

Class vectorplot

source code

                           object --+            
                                    |            
    param.parameterized.Parameterized --+        
                                        |        
param.parameterized.ParameterizedFunction --+    
                                            |    
                             PylabPlotCommand --+
                                                |
                                               vectorplot

Simple line plotting for any vector or list of numbers.

Intended for interactive debugging or analyzing from the command prompt. See MatPlotLib's pylab functions to create more elaborate or customized plots; this is just a simple example.

An optional string can be supplied as a title for the figure, if desired. At present, this is only used for the window, not the actual body of the figure (and will thus not appear when the figure is saved).

The style argument allows different line/linespoints style for the plot: 'r-' for red solid line, 'bx' for blue x-marks, etc. See http://matplotlib.sourceforge.net/matplotlib.pylab.html#-plot for more possibilities.

The label argument can be used to identify the line in a figure legend.

Ordinarily, the x value for each point on the line is the index of that point in the vec array, but a explicit list of xvalues can be supplied; it should be the same length as vec.

Execution of multiple vectorplot() commands with different styles will result in all those styles overlaid on a single plot window.

Nested Classes [hide private]

Inherited from param.parameterized.Parameterized: __metaclass__

Instance Methods [hide private]
 
__call__(self, vec, xvalues=None, style='-', label=None, **params) source code

Inherited from param.parameterized.ParameterizedFunction: __reduce__, script_repr

Inherited from param.parameterized.Parameterized: __getstate__, __init__, __repr__, __setstate__, __str__, debug, defaults, force_new_dynamic_value, get_param_values, get_value_generator, inspect_value, message, print_param_values, set_default, set_dynamic_time_fn, set_param, state_pop, state_push, verbose, warning

Inherited from param.parameterized.Parameterized (private): _add_parameter, _instantiate_param, _set_name, _setup_params

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from param.parameterized.ParameterizedFunction: instance

Inherited from param.parameterized.Parameterized: params, print_param_defaults

Static Methods [hide private]

Inherited from param.parameterized.ParameterizedFunction: __new__

Class Variables [hide private]
  name = <param.parameterized.String object at 0xb233e9c>
String identifier for this object.

Inherited from PylabPlotCommand: file_dpi, file_format, filename, filename_suffix, title

Inherited from param.parameterized.Parameterized: print_level

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__call__(self, vec, xvalues=None, style='-', label=None, **params)
(Call operator)

source code 
Overrides: param.parameterized.ParameterizedFunction.__call__