explot v0.1.0 Explot

Summary

Functions

Adds a list of data with a name to the plot

Returns a plotter which can receive plotting commands

Allows sending commands to the plotter. Provides flexibility for advanced users

Allows sending arbitrary commands to the python process. Use with care

Shows the plot and kills the agent

Sets the title of the plot. This must be setup before showing the plot

Adds a list of labels to the X axis of the plot. The difference with the xlabel function is that xlabel names the whole axis while this function names different points along the axis. For instance xlabel may be “Date” while x_axis_labels are 2016-03-12, 2016-06-15, 2016-09-15, etc

Sets the label on the X axis of the plot. This must be setup before showing the plot

Sets the label on the Y axis of the plot. This must be setup before showing the plot

Functions

add_list(agent, list, list_name)

Adds a list of data with a name to the plot.

new()

Returns a plotter which can receive plotting commands

plot_command(agent, command)

Allows sending commands to the plotter. Provides flexibility for advanced users

send_command(agent, command)

Allows sending arbitrary commands to the python process. Use with care.

show(agent)

Shows the plot and kills the agent.

title(agent, label)

Sets the title of the plot. This must be setup before showing the plot.

x_axis_labels(agent, array_of_labels)

Adds a list of labels to the X axis of the plot. The difference with the xlabel function is that xlabel names the whole axis while this function names different points along the axis. For instance xlabel may be “Date” while x_axis_labels are 2016-03-12, 2016-06-15, 2016-09-15, etc.

xlabel(agent, label)

Sets the label on the X axis of the plot. This must be setup before showing the plot.

ylabel(agent, label)

Sets the label on the Y axis of the plot. This must be setup before showing the plot.