您必须通过 matplotlib 参数进行调整。您正在使用的 nyquist 函数将 **kwars 传递给 matplotlib。
你可以看到
control.nyquist
是一个别名
# Function aliases
bode = bode_plot
nyquist = nyquist_plot
有这个输入:
def nyquist_plot(syslist, omega=None, Plot=True, color=None,
labelFreq=0, *args, **kwargs):
"""
Nyquist plot for a system
Plots a Nyquist plot for the system over a (optional) frequency range.
Parameters
----------
syslist : list of LTI
List of linear input/output systems (single system is OK)
omega : freq_range
Range of frequencies (list or bounds) in rad/sec
Plot : boolean
If True, plot magnitude
color : string
Used to specify the color of the plot
labelFreq : int
Label every nth frequency on the plot
*args
Additional arguments for :func:`matplotlib.plot` (color, linestyle, etc)
**kwargs:
Additional keywords (passed to `matplotlib`)
Returns
-------
real : array
real part of the frequency response array
imag : array
imaginary part of the frequency response array
freq : array
frequencies