Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 15 additions & 9 deletions control/phaseplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,11 @@ def phase_plane_plot(
List of the form [xmin, xmax, ymin, ymax] describing the
boundaries of the phase plot or an array of shape (N, 2)
giving points of at which to plot the vector field.
timedata : int or list of int
Time to simulate each streamline. If a list is given, a different
time can be used for each initial condition in `pointdata`.
timedata : int, 1D array, or 2D array
Time to simulate each streamline. If a 1D array is given, then the
times at which to sample the simulation for all streamlines.
If a 2D array is given, then for each row the times at which
to sample the simulation for the corresponding streamline.
gridtype : str, optional
The type of grid to use for generating initial conditions:
'meshgrid' (default) generates a mesh of initial conditions within
Expand Down Expand Up @@ -544,9 +546,11 @@ def streamlines(
List of the form [xmin, xmax, ymin, ymax] describing the
boundaries of the phase plot or an array of shape (N, 2)
giving points of at which to plot the vector field.
timedata : int or list of int
Time to simulate each streamline. If a list is given, a different
time can be used for each initial condition in `pointdata`.
timedata : int, 1D array, or 2D array
Time to simulate each streamline. If a 1D array is given, then the
times at which to sample the simulation for all streamlines.
If a 2D array is given, then for each row the times at which
to sample the simulation for the corresponding streamline.
gridtype : str, optional
The type of grid to use for generating initial conditions:
'meshgrid' (default) generates a mesh of initial conditions within
Expand Down Expand Up @@ -765,9 +769,11 @@ def separatrices(
List of the form [xmin, xmax, ymin, ymax] describing the
boundaries of the phase plot or an array of shape (N, 2)
giving points of at which to plot the vector field.
timedata : int or list of int
Time to simulate each streamline. If a list is given, a different
time can be used for each initial condition in `pointdata`.
timedata : int, 1D array, or 2D array
Time to simulate each streamline. If a 1D array is given, then the
times at which to sample the simulation for all streamlines.
If a 2D array is given, then for each row the times at which
to sample the simulation for the corresponding streamline.
gridtype : str, optional
The type of grid to use for generating initial conditions:
'meshgrid' (default) generates a mesh of initial conditions within
Expand Down