isocolors
- :
nc =isocolors(x, y, z, c, verts)¶ - :
nc =isocolors(c, verts)¶ - :
nc =isocolors(x, y, z, r, g, b, verts)¶ - :
nc =isocolors(r, g, b, verts)¶ - : isocolors
(…, p)¶ Compute colours at the vertices of an isosurface.
c is a volume of colour values (or the three volumes r, g, b of an RGB colour) on the grid x, y, z (3-D coordinate arrays or vectors; default
1:n,1:m,1:pfor an m-by-n-by-p volume). The colour at each of the points verts (one point per row) is found by trilinear interpolation; points outside the volume get NaN. The result is an n-by-1 vector, or an n-by-3 matrix for RGB input.When the last argument is a patch handle p its vertices are used and the colours are stored in its
FaceVertexCData, withFaceColorset to"interp".