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.
|
__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
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|