@@ -56,8 +56,7 @@ def _find(condition):
56
56
def phase_plot (odefun , X = None , Y = None , scale = 1 , X0 = None , T = None ,
57
57
lingrid = None , lintime = None , logtime = None , timepts = None ,
58
58
parms = (), verbose = True ):
59
- """
60
- Phase plot for 2D dynamical systems
59
+ """Phase plot for 2D dynamical systems
61
60
62
61
Produces a vector field or stream line plot for a planar system.
63
62
@@ -98,20 +97,19 @@ def phase_plot(odefun, X=None, Y=None, scale=1, X0=None, T=None,
98
97
len(X0) that gives the simulation time for each initial
99
98
condition. Default value = 50.
100
99
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.
109
105
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
112
110
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, ...]
115
113
116
114
parms: tuple, optional
117
115
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,
122
120
123
121
Examples
124
122
--------
123
+
125
124
"""
126
125
127
126
#
0 commit comments