plotting¶
buzz.plotting
Functions
|
Create a grid of Bode plots for a MIMO system. |
|
|
|
Makes a folder to store the plots in if it doesn't already exist |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details
- MIMObode(sys, plotting_omega=None, omega_limits=None, UG_line=False, grid=True, **kwargs)[source]¶
Create a grid of Bode plots for a MIMO system.
Parameters: sys (control.StateSpace or control.TransferFunction): The MIMO system. plotting_omega (np.array): The frequency range to plot. If None, it will be calculated automatically. omega_limits (list): The limits of the frequency range to plot. If None, it will be calculated automatically. UG_line (bool): If True, a line will be plotted at unity gain. grid (bool): If True, a grid will be plotted. **kwargs: Additional keyword arguments to pass to control.bode.
Returns: fig (matplotlib.figure.Figure): The figure object. axes (np.array): The axes objects.
- makePlotFolder(setname='')[source]¶
Makes a folder to store the plots in if it doesn’t already exist
- plotLoop(results, loop, extraplots=None, setname='', test=False, xlim=None, ylim=None, UG_line=False, save=True)[source]¶
- plotRMS(results, extras=None, setname='', outlineparam='gm', text=False, test=False, plotrange=False, zero_current_range=True, f1line=False, h2line=False, xlim=None, ylim=None, ax_labels=None, title=False, cb2_label=None, save=True, heatmap=False, onlyCLstable=False)[source]¶
- plot_CLnoises(results, setname='', extra_fom=None, extra_only=False, scale=1, test=False, plot_omega=None)[source]¶