mosaic.polypcolor

Contents

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. See mosaic.Descriptor for an explanation of what the Descriptor is and how to construct it.

Parameters:
  • ax (matplotlib axes object) – Axes, or GeoAxes, on which to plot

  • descriptor (Descriptor) – An already created Descriptor object

  • c (DataArray) – The color values to plot. Must have a dimension named either nCells, nEdges, or nVertices.

  • other_parameters – All other parameters are the same as for pcolor().