comparison scripts/plot/isonormals.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{n}] =} isonormals (@var{x}, @var{y}, @var{z}, @var{val}, @var{p}) 23 ## @deftypefnx {Function File} {[@var{n}] =} isonormals (@var{x}, @var{y}, @var{z}, @var{val}, @var{p})
24 ## @deftypefnx {Function File} {[@var{n}] =} isonormals (@dots{}, "negate") 24 ## @deftypefnx {Function File} {[@var{n}] =} isonormals (@dots{}, "negate")
25 ## @deftypefnx {Function File} isonormals (@dots{}, @var{p}) 25 ## @deftypefnx {Function File} isonormals (@dots{}, @var{p})
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{val} is a three--dimensional array that contains the data for an 28 ## @var{val} is a three-dimensional array that contains the data for an
29 ## isosurface geometry and the second input argument @var{v} keeps the 29 ## isosurface geometry and the second input argument @var{v} keeps the
30 ## vertices of an isosurface then return the normals @var{n} in form of 30 ## vertices of an isosurface then return the normals @var{n} in form of
31 ## a matrix with the same size than @var{v} at computed points 31 ## a matrix with the same size than @var{v} 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{n} can be taken to manually set @var{VertexNormals} of a patch. 33 ## @var{n} can be taken to manually set @var{VertexNormals} of a patch.
86 ## "FaceColor", "interp", "EdgeColor", "none"); 86 ## "FaceColor", "interp", "EdgeColor", "none");
87 ## isonormals (x, y, z, c, v, "negate"); ## Use reverse directly 87 ## isonormals (x, y, z, c, v, "negate"); ## Use reverse directly
88 ## isofinish (p); 88 ## isofinish (p);
89 ## @end example 89 ## @end example
90 ## 90 ##
91 ## @seealso {isosurface, isocolors, isocaps, marching_cube} 91 ## @seealso{isosurface, isocolors}
92 ##
93 ## @end deftypefn 92 ## @end deftypefn
94 93
95 ## Author: Martin Helm <martin@mhelm.de> 94 ## Author: Martin Helm <martin@mhelm.de>
96 95
97 function varargout = isonormals(varargin) 96 function varargout = isonormals(varargin)