plot

customized plotting service for the system programming

source

plot_3d_figure

 plot_3d_figure (table:pandas.core.frame.DataFrame)

*Create a matplotlib 3d figure

export and save in log

Parameter:

table: pd.DataFrame with 3 columns: throttle, speed, torque

Return:

    fig: matplotlib figure*

source

plot_to_image

 plot_to_image (figure)

*Converts the matplotlib plot specified by ‘figure’ to a PNG image and returns it.

The supplied figure is closed and inaccessible after this call.

Parameter:

    figure: matplotlib figure

Return:

        image: tf.Tensor*