control_plotly.Bode_Figure

class control_plotly.Bode_Figure(dB=False, Hz=False, deg=True, log_x=True)
__init__(dB=False, Hz=False, deg=True, log_x=True)

Methods

__init__([dB, Hz, deg, log_x])

add_plot(tf[, w, label])

clear()

clear_extra()

clear_grid()

clear_plot()

get_grid_line()

Returns the plotly grid line

get_line_shape(tf)

Returns the line shape for a particular transfer function (linear for continuous systems and hv for discrete systems)

get_next_color()

Returns the next curve color

get_x_title()

get_x_type()

Returns the type for the xaxis (log or linear)

get_y1_title()

get_y2_title()

get_y_title()

get_y_type()

Returns the type for the yaxis (log or linear)

json()

Returns a json representation of the plotly data

set_x_lim(range)

Specify the xlim range

set_x_title(title)

set_y_lim(range)

Specify the ylim range

set_y_title(title)

show()

Constructs the figure and return the plotly figure instance

Attributes

color_list

data

layout

Returns the plotly figure layout

x_scaleanchor

x_scaleratio

x_title

y_scaleanchor

y_scaleratio

y_title