mosaic.polypcolor#
- mosaic.polypcolor(ax, descriptor, c, alpha=1.0, norm=None, cmap=None, vmin=None, vmax=None, facecolors=None, **kwargs)#
Create a pseudocolor plot of a unstructured MPAS grid.
The unstructured grid is specified by passing a
Descriptor
object as the second parameter. Seemosaic.Descriptor
for an explanation of what theDescriptor
is and how to construct it.- Parameters:
ax (
matplotlib axes object
) – Axes, or GeoAxes, on which to plotdescriptor (
Descriptor
) – An already createdDescriptor
objectc (
DataArray
) – The color values to plot. Must have a dimension named eithernCells
,nEdges
, ornVertices
.other_parameters – All other parameters are the same as for
pcolor()
.