5.3.1. sesame.plotter.plot

sesame.plotter.plot(sys, data, cmap='gnuplot', alpha=1, fig=None, title='')[source]

Plot a 2D map of a parameter (like mobility) across the system.

Parameters:

sys: Builder :

The discretized system.

data: numpy array :

One-dimensional array of data with size equal to the size of the system.

cmap: string :

Name of the colormap used by Matplolib.

alpha: float :

Transparency of the colormap.

fig: Maplotlib figure :

A plot is added to it if given. If not given, a new one is created and displayed.