8000 improved docstring for kvect in sisotool · python-control/python-control@feb9010 · GitHub
[go: up one dir, main page]

Skip to content

Commit feb9010

Browse files
committed
improved docstring for kvect in sisotool
1 parent 3854050 commit feb9010

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

control/matlab/wrappers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def nyquist(*args, **kwargs):
117117
def _parse_freqplot_args(*args):
118118
"""Parse arguments to frequency plot routines (bode, nyquist)"""
119119
syslist, plotstyle, omega, other = [], [], None, {}
120-
i = 0;
120+
i = 0
121121
while i < len(args):
122122
# Check to see if this is a system of some sort
123123
if issys(args[i]):

control/sisotool.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,13 @@ def sisotool(sys, kvect=None, xlim_rlocus=None, ylim_rlocus=None,
3737
the step response. This allows you to see the step responses of more
3838
complex systems, for example, systems with a feedforward path into the
3939
plant or in which the gain appears in the feedback path.
40-
kvect : list or ndarray, optional
41-
List of gains to use for plotting root locus
40+
kvect : float or array_like, optional
41+
List of gains to use for plotting root locus. If only one value is
42+
provided, the set of gains in the root locus plot is calculated
43+
automatically, and kvect is interpreted as if it was the value of
44+
the gain associated with the first mouse click on the root locus
45+
plot. This is useful if it is not possible to use interactive
46+
plotting.
4247
xlim_rlocus : tuple or list, optional
4348
control of x-axis range, normally with tuple
4449
(see :doc:`matplotlib:api/axes_api`).

0 commit comments

Comments
 (0)
0