Skip to content

pcolor

plot · scripts/plot/draw/pcolor.m

: pcolor (c)
: pcolor (x, y, c)
: pcolor (ax, …)
: h = pcolor (…)

Draw a pseudocolor plot of the matrix c.

Every element of c is mapped through the colormap. The grid coordinates x and y are vectors or matrices as for mesh; by default the column and row indices are used. The plot is a flat surface seen from above.

The surface handle is returned.