control_plotly.Time_Figure¶
- class control_plotly.Time_Figure(log_x=False, log_y=False)¶
- __init__(log_x=False, log_y=False)¶
Methods
__init__([log_x, log_y])add_plot(tf[, type, T, label])Add a new plot for the system tf.
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_response(tf[, type, T])Return the response of the system tf.
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
Attributes
color_listdatalayoutReturns the plotly figure layout
x_scaleanchorx_scaleratiox_titley_scaleanchory_scaleratioy_title