Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit748e36a

Browse files
committed
fix typos + other small fixes from@slivingston
1 parentedb444e commit748e36a

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

‎control/phaseplot.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
phase plots. The base function for creating phase plane portraits is
1616
:func:`~control.phase_plane_plot`, which generates a phase plane portrait
1717
for a 2 state I/O system (with no inputs). In addition, several other
18-
functions are available tocreat ecustomize phase plane plots:
18+
functions are available tocreate customized phase plane plots:
1919
2020
* boxgrid: Generate a list of points along the edge of a box
2121
* circlegrid: Generate list of points around a circle
@@ -103,7 +103,7 @@ def phase_plane_plot(
103103
plot_separatrices : bool or dict
104104
If `True` (default) then plot separatrices starting from each
105105
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`.
107107
color : str
108108
Plot all elements in the given color (use `plot_<fcn>={'color': c}`
109109
to set the color in one element of the phase plot.
@@ -397,7 +397,7 @@ def equilpoints(
397397
Parameters
398398
----------
399399
sys : NonlinearIOSystem or callable(t, x, ...)
400-
I/Osystems or function used to generate phase plane data. If a
400+
I/Osystem or function used to generate phase plane data. If a
401401
function is given, the remaining arguments are drawn from the
402402
`params` keyword.
403403
pointdata : list or 2D array
@@ -702,7 +702,7 @@ def circlegrid(centers, radius, num):
702702
# Internal utility functions
703703
#
704704

705-
# Create a systemform a callable
705+
# Create a systemfrom a callable
706706
def_create_system(sys,params):
707707
ifisinstance(sys,NonlinearIOSystem):
708708
ifsys.nstates!=2:
@@ -789,9 +789,6 @@ def _make_points(pointdata, gridspec, gridtype):
789789

790790
# Utility function to parse (and check) input arguments
791791
def_parse_args(defsize):
792-
# if not isinstance(pointdata, (list, tuple)) or len(pointdata) != 4:
793-
# raise ValueError("invalid grid data specification")
794-
795792
ifgridspecisNone:
796793
returndefsize
797794

‎doc/plotting.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ The following helper functions are available:
363363
The:func:`~control.phase_plane_plot` function calls these helper functions
364364
based on the options it is passed.
365365

366-
Note that unlike other plottingfunction, phase plane plots do not involve
366+
Note that unlike other plottingfunctions, phase plane plots do not involve
367367
computing a response and then plotting the result via a `plot()` method.
368368
Instead, the plot is generated directly be a call to the
369369
:func:`~control.phase_plane_plot` function (or one of the

‎examples/phase_plane_plots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# RMM, 25 Mar 2024
33
#
44
# This file contains a number of examples of phase plane plots generated
5-
# using the phaseplot module. Most of these figureslines up with examples
5+
# using the phaseplot module. Most of these figuresline up with examples
66
# in FBS2e, with different display options shown as different subplots.
77

88
importtime

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp