Mercurial > octave-nkf
comparison scripts/plot/isocolors.m @ 12529:0579a13f29a1
Add isocolors, isonormals, isosurface functions to documentation.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sat, 19 Mar 2011 13:06:50 -0700 |
parents | c792872f8942 |
children | f5a780d675a1 |
comparison
equal
deleted
inserted
replaced
12528:2ac5028e5cb7 | 12529:0579a13f29a1 |
---|---|
23 ## @deftypefnx {Function File} {[@var{cd}] =} isocolors (@var{r}, @var{g}, @var{b}, @var{v}) | 23 ## @deftypefnx {Function File} {[@var{cd}] =} isocolors (@var{r}, @var{g}, @var{b}, @var{v}) |
24 ## @deftypefnx {Function File} {[@var{cd}] =} isocolors (@dots{}, @var{p}) | 24 ## @deftypefnx {Function File} {[@var{cd}] =} isocolors (@dots{}, @var{p}) |
25 ## @deftypefnx {Function File} isocolors (@dots{}) | 25 ## @deftypefnx {Function File} isocolors (@dots{}) |
26 ## | 26 ## |
27 ## If called with one output argument and the first input argument | 27 ## If called with one output argument and the first input argument |
28 ## @var{c} is a three--dimensional array that contains color values and | 28 ## @var{c} is a three-dimensional array that contains color values and |
29 ## the second input argument @var{v} keeps the vertices of a geometry | 29 ## the second input argument @var{v} keeps the vertices of a geometry |
30 ## then return a matrix @var{cd} with color data information for the | 30 ## then return a matrix @var{cd} with color data information for the |
31 ## geometry at computed points | 31 ## geometry at computed points |
32 ## @command{[x, y, z] = meshgrid (1:l, 1:m, 1:n)}. The output argument | 32 ## @command{[x, y, z] = meshgrid (1:l, 1:m, 1:n)}. The output argument |
33 ## @var{cd} can be taken to manually set FaceVertexCData of a patch. | 33 ## @var{cd} can be taken to manually set FaceVertexCData of a patch. |
90 ## cdat = isocolors (x, y, z, r, g, b, v); | 90 ## cdat = isocolors (x, y, z, r, g, b, v); |
91 ## set (p, "FaceVertexCData", cdat); | 91 ## set (p, "FaceVertexCData", cdat); |
92 ## isofinish (p); | 92 ## isofinish (p); |
93 ## @end example | 93 ## @end example |
94 ## | 94 ## |
95 ## @seealso{isosurface, isonormals, isocaps} | 95 ## @seealso{isosurface, isonormals} |
96 ## | 96 ## |
97 ## @end deftypefn | 97 ## @end deftypefn |
98 | 98 |
99 ## Author: Martin Helm <martin@mhelm.de> | 99 ## Author: Martin Helm <martin@mhelm.de> |
100 | 100 |