plot

Full name: ase2sprkkr.gui.plot

Module class hierarchy

Inheritance diagram of ase2sprkkr.gui.plot.Multiplot, ase2sprkkr.gui.plot.PlotControls


Description

In this file the general plotting routines are present.

Functions

auto_range(rng, data[, eps])

Fill the missing value in the given range by the data.

change_default_kwargs(f, **kwargs)

Return the same function, with default kwargs changed

colormesh(x, y, c[, xrange, yrange, ...])

Plot a 2D map; callable x/y/c receive the shared control state.

combine_colormaps(cmap1, cmap2, n1, n2, ...)

combined_colormap([range1, range2, n1, n2, ...])

create_rc_context([latex])

Create the context that sets defaults for plotting

finish_plot(fig[, filename, show, dpi, layout])

Show the plot and/or save it to the given file

lineplot(x, y[, axis, controls])

Plot a one-dimensional scan, optionally updated by shared controls.

normalize_rc_params(params)

plotting_function(func)

Decorator, that 'completes' the given function that just draw into a matplolib axis.

set_up_common_plot(axis[, title, xlabel, ...])

single_plot([filename, show, window_title, ...])

Creates single plot according to the given function a either show it or save it.

Classes

Multiplot([layout, figsize, latex, ...])

This class can be used for plotting more plots into one resulting image/window.

PlotControls(figure, specs[, live])

One figure-owned set of simple controls sharing a single state.