@@ -56,8 +56,7 @@ def _find(condition):
5656def phase_plot (odefun , X = None , Y = None , scale = 1 , X0 = None , T = None ,
5757 lingrid = None , lintime = None , logtime = None , timepts = None ,
5858 parms = (), verbose = True ):
59- """
60- Phase plot for 2D dynamical systems
59+ """Phase plot for 2D dynamical systems
6160
6261 Produces a vector field or stream line plot for a planar system.
6362
@@ -98,20 +97,19 @@ def phase_plot(odefun, X=None, Y=None, scale=1, X0=None, T=None,
9897 len(X0) that gives the simulation time for each initial
9998 condition. Default value = 50.
10099
101- lingrid = N or (N, M): integer or 2-tuple of integers, optional
102- If X0 is given and X, Y are missing, a grid of arrows is
103- produced using the limits of the initial conditions, with N
104- grid points in each dimension or N grid points in x and M grid
105- points in y.
106-
107- lintime = N: integer, optional
108- Draw N arrows using equally space time points
100+ lingrid : integer or 2-tuple of integers, optional
101+ Argument is either N or (N, M). If X0 is given and X, Y are missing,
102+ a grid of arrows is produced using the limits of the initial
103+ conditions, with N grid points in each dimension or N grid points in x
104+ and M grid points in y.
109105
110- logtime = (N, lambda): (integer, float), optional
111- Draw N arrows using exponential time constant lambda
106+ lintime : integer or tuple (integer, float), optional
107+ If a single integer N is given, draw N arrows using equally space time
108+ points. If a tuple (N, lambda) is given, draw N arrows using
109+ exponential time constant lambda
112110
113- timepts = [t1, t2, ...] : array-like, optional
114- Draw arrows at the given list times
111+ timepts : array-like, optional
112+ Draw arrows at the given list times [t1, t2, ...]
115113
116114 parms: tuple, optional
117115 List of parameters to pass to vector field: `func(x, t, *parms)`
@@ -122,6 +120,7 @@ def phase_plot(odefun, X=None, Y=None, scale=1, X0=None, T=None,
122120
123121 Examples
124122 --------
123+
125124 """
126125
127126 #
0 commit comments