control.get_plot_axes

control.get_plot_axes(line_array)[source]

Get a list of axes from an array of lines.

This function can be used to return the set of axes corresponding to the line array that is returned by time_response_plot. This is useful for generating an axes array that can be passed to subsequent plotting calls.

Parameters

line_array (array of list of Line2D) – A 2D array with elements corresponding to a list of lines appearing in an axes, matching the return type of a time response data plot.

Returns

axes_array – A 2D array with elements corresponding to the Axes assocated with the lines in line_array.

Return type

array of list of Axes

Notes

Only the first element of each array entry is used to determine the axes.