- Notifications
You must be signed in to change notification settings - Fork441
Cover more of root_locus: dtime and sisotool#617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -137,7 +137,7 @@ def root_locus(sys, kvect=None, xlim=None, ylim=None, | ||
print_gain = config._get_param( | ||
'rlocus', 'print_gain', print_gain, _rlocus_defaults) | ||
sys_loop = sys if sys.issiso() else sys[0,0] | ||
# Convert numerator and denominator to polynomials if they aren't | ||
(nump, denp) = _systopoly1d(sys_loop) | ||
@@ -232,16 +232,11 @@ def root_locus(sys, kvect=None, xlim=None, ylim=None, | ||
ax.set_ylim(ylim) | ||
# Draw the grid | ||
if grid: | ||
if isdtime(sys, strict=True): | ||
zgrid(ax=ax) | ||
else: | ||
_sgrid_func(fig=fig if sisotool else None) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Any idea why there are two different sgrid functions? there is this one and there is grid.sgrid. Maybe a different PR, but would be good to unify these and get the best of each of them. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Apparently _sgrid_func() was removed in#193 but reintroduced through some merge gone wrong? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. | ||
else: | ||
ax.axhline(0., linestyle=':', color='k', linewidth=.75, zorder=-20) | ||
ax.axvline(0., linestyle=':', color='k', linewidth=.75, zorder=-20) | ||
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -5,4 +5,3 @@ universal=1 | ||
addopts = -ra | ||
filterwarnings = | ||
error:.*matrix subclass:PendingDeprecationWarning | ||