control_plotly.Nichols_Figure

class control_plotly.Nichols_Figure(show_mag, show_phase)
__init__(show_mag, show_phase)

Methods

__init__(show_mag, show_phase)

add_grid([cm, cp])

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_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([show_data, show_grid, show_extra])

Constructs the figure and return the plotly figure instance

update_min_max(mag, phase)

Attributes

color_list

data

layout

Returns the plotly figure layout

x_scaleanchor

x_scaleratio

x_title

y_scaleanchor

y_scaleratio

y_title