Skip to content

Commit 08e70a1

Browse files
committed
extend comments for root-locus procedure
1 parent 0e645f0 commit 08e70a1

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

src/matlab.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1112,6 +1112,14 @@ def rlocus(sys, klist = None, **keywords):
11121112
Linear system
11131113
klist:
11141114
optional list of gains
1115+
xlim : control of x-axis range, normally with tuple, for
1116+
other options, see matplotlib.axes
1117+
ylim : control of y-axis range
1118+
Plot : boolean (default = True)
1119+
If True, plot magnitude and phase
1120+
PrintGain: boolean (default = True)
1121+
If True, report mouse clicks when close to the root-locus branches,
1122+
calculate gain, damping and print
11151123
11161124
Returns
11171125
-------

src/rlocus.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ def root_locus(sys, kvect, xlim=None, ylim=None, plotstr='-', Plot=True,
6565
Linear input/output systems (SISO only, for now)
6666
kvect : gain_range (default = None)
6767
List of gains to use in computing diagram
68+
xlim : control of x-axis range, normally with tuple, for
69+
other options, see matplotlib.axes
70+
ylim : control of y-axis range
6871
Plot : boolean (default = True)
6972
If True, plot magnitude and phase
7073
PrintGain: boolean (default = True)

0 commit comments

Comments
 (0)