finesse.plotting.plot.bode

finesse.plotting.plot.bode(f, *Y, axs=None, return_axes=True, figsize=(6, 6), db=True, **kwargs)[source]

Create a Bode plot for a complex array.

Parameters:
farray_like

Frequencies

*Yarray_like

Complex valued transfer functions evaluated at frequencies f

axsAxes, optional

Axes to use to plot transfer functions on. Magnitude plotted on axs[0] and phase on axs[1].

dbbool, optional

Plot magnitude in dB

figsizetuple

Figure size

**kwargs

Additional arguments are passed to the semilog calls

Examples

>>> axs = bode(f, CLG, label='CLG')
>>> bode(f, CHR, axs=axs, label='CHR')