yt.extensions.eps_writer.DualEPS

class yt.extensions.eps_writer.DualEPS(figsize=(12, 12))

Initializes the DualEPS class to which we can progressively add layers of vector graphics and compressed bitmaps.

Parameters :

figsize : tuple of floats

The width and height of a single figure in centimeters.

Methods

axis_box([xrange, yrange, xlabel, ylabel, ...]) Draws an axis box in the figure.
axis_box_yt(plot, **kwargs[, units, bare_axes]) Wrapper around DualEPS.axis_box to automatically fill in the
circle([radius, loc, color, linewidth]) Draws a circle in the current figure.
colorbar(name[, zrange, label, log, ...]) Places a colorbar adjacent to the current figure.
colorbar_yt(plot, **kwargs) Wrapper around DualEPS.colorbar to take information from a yt plot.
hello_world() A simple test.
insert_image(filename[, pos]) Inserts a JPEG file in the figure.
insert_image_yt(plot[, pos]) Inserts a bitmap taken from a yt plot.
save_fig([filename, format]) Saves current figure to a file.
scale_line([size, label, loc, labelloc, ...]) Draws a scale line in the current figure.
title_box(text[, color, bgcolor, loc, ...]) Inserts a box with text in the current figure.

Previous topic

yt.extensions.image_writer.splat_points

Next topic

yt.extensions.eps_writer.DualEPS.axis_box

This Page