comparison scripts/plot/isosurface.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 6590446c2498
comparison
equal deleted inserted replaced
12528:2ac5028e5cb7 12529:0579a13f29a1
24 ## @deftypefnx {Function File} {[@var{f}, @var{v}] =} isosurface (@var{x}, @var{y}, @var{z}, @var{val}, @var{iso}) 24 ## @deftypefnx {Function File} {[@var{f}, @var{v}] =} isosurface (@var{x}, @var{y}, @var{z}, @var{val}, @var{iso})
25 ## @deftypefnx {Function File} {[@var{f}, @var{v}, @var{c}] =} isosurface (@var{x}, @var{y}, @var{z}, @var{val}, @var{iso}, @var{col}) 25 ## @deftypefnx {Function File} {[@var{f}, @var{v}, @var{c}] =} isosurface (@var{x}, @var{y}, @var{z}, @var{val}, @var{iso}, @var{col})
26 ## @deftypefnx {Function File} {} isosurface (@var{x}, @var{y}, @var{z}, @var{val}, @var{iso}, @var{col}, @var{opt}) 26 ## @deftypefnx {Function File} {} isosurface (@var{x}, @var{y}, @var{z}, @var{val}, @var{iso}, @var{col}, @var{opt})
27 ## 27 ##
28 ## If called with one output argument and the first input argument 28 ## If called with one output argument and the first input argument
29 ## @var{val} is a three--dimensional array that contains the data of an 29 ## @var{val} is a three-dimensional array that contains the data of an
30 ## isosurface geometry and the second input argument @var{iso} keeps the 30 ## isosurface geometry and the second input argument @var{iso} keeps the
31 ## isovalue as a scalar value then return a structure array @var{fv} 31 ## isovalue as a scalar value then return a structure array @var{fv}
32 ## that contains the fields @var{Faces} and @var{Vertices} at computed 32 ## that contains the fields @var{Faces} and @var{Vertices} at computed
33 ## points @command{[x, y, z] = meshgrid (1:l, 1:m, 1:n)}. The output 33 ## points @command{[x, y, z] = meshgrid (1:l, 1:m, 1:n)}. The output
34 ## argument @var{fv} can directly be taken as an input argument for the 34 ## argument @var{fv} can directly be taken as an input argument for the
106 ## set (gca, "PlotBoxAspectRatioMode","manual", "PlotBoxAspectRatio", [1 1 1]); 106 ## set (gca, "PlotBoxAspectRatioMode","manual", "PlotBoxAspectRatio", [1 1 1]);
107 ## # set (p, "FaceLighting", "phong"); 107 ## # set (p, "FaceLighting", "phong");
108 ## # light ("Position", [1 1 5]); 108 ## # light ("Position", [1 1 5]);
109 ## @end example 109 ## @end example
110 ## 110 ##
111 ## @seealso{isocolors, isonormals, isocaps} 111 ## @seealso{isonormals, isocolors}
112 ##
113 ## @end deftypefn 112 ## @end deftypefn
114 113
115 ## Author: Martin Helm <martin@mhelm.de> 114 ## Author: Martin Helm <martin@mhelm.de>
116 115
117 function varargout = isosurface(varargin) 116 function varargout = isosurface(varargin)