kwant.plotter.
map
(sys, value, colorbar=True, cmap=None, vmin=None, vmax=None, a=None, method='nearest', oversampling=3, num_lead_cells=0, file=None, show=True, dpi=None, fig_size=None, ax=None)¶Show interpolated map of a function defined for the sites of a system.
Create a pixmap representation of a function of the sites of a system by
calling mask_interpolate
and show this pixmap using
matplotlib.
Parameters: | sys : kwant.system.FiniteSystem or kwant.builder.Builder
value : function or list
colorbar : bool, optional
cmap :
vmin : float, optional
vmax : float, optional
a : float, optional
method : string, optional
oversampling : integer, optional
num_lead_cells : integer, optional
file : string or file object or None
show : bool
ax :
|
---|---|
Returns: | fig : matplotlib figure
|
Notes
1
. Then, each site will
correspond to exactly one pixel.