Root locus plot.
Calculate the root locus by finding the roots of 1 + k * G(s) where G is a linear system and k varies over a range of gains.
Linear input/output systems (SISO only, for now).
Gains to use in computing plot of closed-loop poles. If not given, gains are chosen to include the main features of the root locus map.
Set limits of x axis (see matplotlib.axes.Axes.set_xlim
).
Set limits of y axis (see matplotlib.axes.Axes.set_ylim
).
(legacy) If given, root_locus_plot
returns the legacy return values of roots and gains. If False, just return the values with no plot.
If True plot omega-damping grid, if False show imaginary axis for continuous-time systems, unit circle for discrete-time systems. If ‘empty’, do not draw any additional lines. Default value is set by config.defaults['rlocus.grid']
.
Mark the point on the root locus diagram corresponding to the given gain.
Specify the color of the markers and lines.
ControlPlot
object
Object containing the data that were plotted. See ControlPlot
for more detailed information.
matplotlib.lines.Line2D
The shape of the array is given by (nsys, 3) where nsys is the number of systems or responses passed to the function. The second index specifies the object type:
lines[idx, 0]: poles
lines[idx, 1]: zeros
lines[idx, 2]: loci
matplotlib.axes.Axes
Axes for each subplot.
matplotlib.figure.Figure
Figure containing the plot.
matplotlib.legend.Legend
Legend object(s) contained in the plot.
(legacy) If the plot
keyword is given, returns the closed-loop root locations, arranged such that each row corresponds to a gain, and the array of gains (same as gains
keyword argument if provided).
matplotlib.axes.Axes
, optional
The matplotlib axes to draw the figure on. If not specified and the current figure has a single axes, that axes is used. Otherwise, a new figure is created.
If present, replace automatically generated label(s) with the given label(s). If sysdata is a list, strings should be specified for each system.
Include a legend in the given location. Default is ‘center right’, with no legend for a single response. Use False to suppress legend.
Force legend to be shown if True or hidden if False. If None, then show legend when there is more than one line on the plot or legend_loc
has been specified.
Set the title of the plot. Defaults to plot type and system name(s).
Notes
The root_locus_plot function calls matplotlib.pyplot.axis(‘equal’), which means that trying to reset the axis limits may not behave as expected. To change the axis limits, use matplotlib.pyplot.gca().axis(‘auto’) and then set the axis limits to the desired values.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4