pyOMA.core.StabilDiagram.StabilPlot#
- class pyOMA.core.StabilDiagram.StabilPlot(stabil_calc, fig=None)[source]#
Bases:
objectStatic matplotlib stabilisation diagram renderer.
Draws poles from a
StabilCalcobject onto a matplotlib figure, colour-coded by their stabilisation status (stable / partially stable / unstable). Used as the backend for both the interactiveStabilGUIand the JupyterJupyterGUI.- Parameters:
stabil_calc (StabilCalc) – Populated stabilisation-calculation object.
fig (matplotlib.figure.Figure, optional) – External figure to draw into. A new figure is created when
None.
- __init__(stabil_calc, fig=None)[source]#
- Parameters:
stabil_calc (StabilCalc) – Populated stabilisation-calculation object.
fig (matplotlib.figure.Figure, optional) – External figure to draw into. A new figure is created when
None.
Methods
__init__(stabil_calc[, fig])add_mode(datapoint, list_ind)init_cursor([visible])mode_selected(event)connect this function to the button press event of the canvas
plot_stabil(name)plot_stabil_autosel(color, marker, zorder, ...)plot_stabil_stdf(name, color, zorder, label)plot_sv_psd(b[, NFFT])prepare_diagram()remove_mode(datapoint, list_ind)save_figure([fname])show_MC([b])toggle_ad(b)toggle_all(b)toggle_clear(b)toggle_dd(b)toggle_dev(b)toggle_df(b)toggle_dmac(b)toggle_dmtn(b)toggle_mode(datapoint)toggle_mpc(b)toggle_mpd(b)toggle_mtn(b)toggle_select(b)toggle_stable(b)toggle_stdd(b)toggle_stdf(b)update_stabilization(**criteria)update_xlim(xlim)update_ylim(ylim)