hornet.plot – Graphing Library

Simplified library for plotting information. Reduces interactions to as single call.

Module author: John Paulett <john.paulett -at- vanderbilt.edu>

hornet.plot.create_figure(xlabel=None, ylabel=None, title=None)
Creates a new figure object. The figure object and the axis of the figure are returned as a tuple.
hornet.plot.loglog(x, y, fmt='.', xlabel=None, ylabel=None, title=None, filename=None)
Returns a log-log plot and optionally saves the plot to filename if provided.
hornet.plot.save(fig, filename)
Saves a figure object, fig, to the location specified by filename. The extension of filename will inform the formatting of the image.
hornet.plot.show()
Display the current figure buffer in a GUI window.
hornet.plot.xyscatter(x, y, fmt='.', xlabel=None, ylabel=None, title=None, filename=None)
Draw a simple XY scatter plot and optionally saves the plot to filename if provided.

Previous topic

hornet.plugin – HORNET Plugin

Next topic

hornet.task – Parallel Task Execution

This Page