harold.nyquist_plot¶
-
harold.
nyquist_plot
(sys, w=None, use_hz=True, negative_freqs=True, style=None, **kwargs)¶ Draw the Nyquist plot of State, Transfer model(s).
Parameters: - sys ({State,Transfer}, iterable) – The system(s) for which the Bode plot will be drawn. For multiple plots, place the systems inside a list, tuples, etc. Generators will not work as they will be exhausted before the plotting is performed.
- w (array_like) – Range of frequencies. For discrete systems the frequencies above the nyquist frequency is ignored. If sys is an iterable w is used for all systems.
- use_hz (bool, optional) – Uses Hz unit for the output frequencies. This also assumes the input frequencies are in Hz.
- negative_freqs (bool) – Draw or hide the negative frequencies. Default is True
- style (cycler.Cycler, optional) – Matplotlib cycler class instance for defining the properties of the plot artists. If not given, the current defaults will be used.
- any, all remaining kwargs are passed to matplotlib.pyplot.subplots() (If) –
Returns: plot (matplotlib.figure.Figure)