[manual] suggested addition to pcolor description
Francesco Potorti`
Potorti at isti.cnr.it
Mon Sep 22 09:57:26 CDT 2008
> > help pcolor
> -- Function File: pcolor (X, Y, C)
> -- Function File: pcolor (C)
> Density plot for given matrices X, and Y from `meshgrid' and a
> matrix C corresponding to the X and Y coordinates of the mesh's
> vertices. If X and Y are vectors, then a typical vertex is (X(j),
> Y(i), C(i,j)). Thus, columns of C correspond to different X
> values and rows of C correspond to different Y values.
>
> The `colormap' is scaled to the extents of C. Limits may be
> placed on the color axis by the command `caxis', or by setting
> the `clim' property of the parent axis.
>
> The face color of each cell of the mesh is determined by
> interpolating the values of C for the cell's vertices. `imagesc'
> may be used to set the face color of the cells explicitly.
I do not know whether the last sentence is true. What I was suggesting
is equivalent to substituting the last sentence with something like:
Contrast this with the behaviour of `imagesc', which plots one cell for
each element of C.
> `shading' modifies an attribute determining the manner by which the
> face color of each cell is interpolated from the values of C, and
> the visibility of the cells' edges. By default the attribute is
> "flat", which renders a single color for each cell's face with the
> edge visible.
The description is consistent with the behaviour that I observe, but
this means that the default attribute is "interp" (or "faceted", I still
can not understand the difference).
> See also: caxis, contour, meshgrid, meshsc, shading.
Maybe you meant `imagesc' rather than `meshsc'?
--
Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR Fax: +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa Email: Potorti at isti.cnr.it
(entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/
More information about the Bug-octave
mailing list