-
Notifications
You must be signed in to change notification settings - Fork 440
Fix plot issues #382
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix plot issues #382
Conversation
…arning + fix bugs in gangof4 using dB + PEP8, docstring cleanup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
control/freqplot.py
Outdated
Additional keywords (passed to `matplotlib`) | ||
|
||
w |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
control/freqplot.py
Outdated
# | ||
# Nyquist plot | ||
# | ||
|
||
def nyquist_plot(syslist, omega=None, Plot=True, | ||
labelFreq=0, arrowhead_length=0.1, arrowhead_width=0.1, | ||
def nyquist_plot(syslist, omega=None, plot=True, labelFreq=0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change to label_freq
for the same reason as the change to plot
and print_gain
?
…move extraneous docstring text
This PR fixes some problems with plotting functions in
python-control
:gangof4
whendB=True
, which was not usingsemilogx
for plottingPlot
andPrintGain
keywords toplot
andprint_gain
, with deprecation warnings (better consistency with the rest ofpython-control
).examples/pvtol_nested.py
that was giving spurious zero at infinity