Package PyDSTool :: Package Toolbox :: Module phaseplane :: Class plotter_2D
[hide private]
[frames] | no frames]

Class plotter_2D

source code

object --+
         |
        plotter_2D

Plotting manager for phase plane analysis. A global instance of this class called 'plotter' is already created and exported by this module. Operate on that instance directly.

All plotting will take place in figure numbered self.curr_fig, which will be resized to the given shape and limits.

All added methods of form plot_X take an optional named figure which would correspond to whatever figure number is allocated in the fig_directory dictionary attribute. New plot methods of this kind must first check that do_display is True, and then call the 'setup' method before, and 'teardown' after doing the necessary plotting.

Instance Methods [hide private]
 
__init__(self, x_dom=None, y_dom=None, figsize=(6, 5), curr_fig=1, do_display=False)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
set_curr_fig(self, name) source code
 
setup(self, figname) source code
 
teardown(self) source code
 
plot_nullcline(self, nullc, style, lw=1, N=100, marker='', figname=None) source code
 
plot_vf(self, gen, xname, yname, col='k', N=20, subdomain=None, scale_exp=0, figname=None)
Plot vector field in 2D
source code
 
plot_fps(self, fps, coords=None, do_evecs=False, markersize=10, figname=None)
Plot fixed point(s) in 2D
source code
 
plot_line_from_points(self, A, B, style, lw=1, figname=None) source code
 
plot_point(self, A, style, figname=None) source code
 
plot_vline(self, x, style, figname=None) source code
 
plot_hline(self, y, style, figname=None) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, x_dom=None, y_dom=None, figsize=(6, 5), curr_fig=1, do_display=False)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)