|
15 | 15 | phase plots. The base function for creating phase plane portraits is
|
16 | 16 | :func:`~control.phase_plane_plot`, which generates a phase plane portrait
|
17 | 17 | for a 2 state I/O system (with no inputs). In addition, several other
|
18 |
| -functions are available to creat ecustomize phase plane plots: |
| 18 | +functions are available to create customized phase plane plots: |
19 | 19 |
|
20 | 20 | * boxgrid: Generate a list of points along the edge of a box
|
21 | 21 | * circlegrid: Generate list of points around a circle
|
@@ -103,7 +103,7 @@ def phase_plane_plot(
|
103 | 103 | plot_separatrices : bool or dict
|
104 | 104 | If `True` (default) then plot separatrices starting from each
|
105 | 105 | equilibrium point. If set to a dict, pass on the key-value pairs
|
106 |
| - in the dict as keywords to :func:`~control.phaseplot.streamlines`. |
| 106 | + in the dict as keywords to :func:`~control.phaseplot.separatrices`. |
107 | 107 | color : str
|
108 | 108 | Plot all elements in the given color (use `plot_<fcn>={'color': c}`
|
109 | 109 | to set the color in one element of the phase plot.
|
@@ -397,7 +397,7 @@ def equilpoints(
|
397 | 397 | Parameters
|
398 | 398 | ----------
|
399 | 399 | sys : NonlinearIOSystem or callable(t, x, ...)
|
400 |
| - I/O systems or function used to generate phase plane data. If a |
| 400 | + I/O system or function used to generate phase plane data. If a |
401 | 401 | function is given, the remaining arguments are drawn from the
|
402 | 402 | `params` keyword.
|
403 | 403 | pointdata : list or 2D array
|
@@ -702,7 +702,7 @@ def circlegrid(centers, radius, num):
|
702 | 702 | # Internal utility functions
|
703 | 703 | #
|
704 | 704 |
|
705 |
| -# Create a system form a callable |
| 705 | +# Create a system from a callable |
706 | 706 | def _create_system(sys, params):
|
707 | 707 | if isinstance(sys, NonlinearIOSystem):
|
708 | 708 | if sys.nstates != 2:
|
@@ -789,9 +789,6 @@ def _make_points(pointdata, gridspec, gridtype):
|
789 | 789 |
|
790 | 790 | # Utility function to parse (and check) input arguments
|
791 | 791 | def _parse_args(defsize):
|
792 |
| - # if not isinstance(pointdata, (list, tuple)) or len(pointdata) != 4: |
793 |
| - # raise ValueError("invalid grid data specification") |
794 |
| - |
795 | 792 | if gridspec is None:
|
796 | 793 | return defsize
|
797 | 794 |
|
|
0 commit comments