comparison scripts/plot/ezplot3.m @ 14001:5f0bb45e615c

doc: Update documentation for functions returning a graphics handle h (Bug #34761) * voronoi.m, image.m, imagesc.m, imshow.m, area.m, bar.m, barh.m, clabel.m, clf.m, compass.m, ezcontour.m, ezcontourf.m, ezmesh.m, ezmeshc.m, ezplot.m, ezplot3.m, ezpolar.m, ezsurf.m, ezsurfc.m, feather.m, fill.m, findall.m, findobj.m, loglog.m, mesh.m, pareto.m, patch.m, pie.m, pie3.m, plot.m, polar.m, quiver.m, quiver3.m, rectangle.m, ribbon.m, rose.m, scatter.m, scatter3.m, semilogx.m, semilogy.m, slice.m, stem.m, surf.m, surface.m, text.m, title.m, trimesh.m, triplot.m, trisurf.m, xlabel.m, ylabel.m, zlabel.m: Update documentation for functions returning a graphics handle h.
author Rik <octave@nomad.inbox5.com>
date Tue, 06 Dec 2011 13:09:17 -0800
parents c792872f8942
children b0cdd60db5e5
comparison
equal deleted inserted replaced
14000:15400d5deb1c 14001:5f0bb45e615c
30 ## with 60 points. 30 ## with 60 points.
31 ## 31 ##
32 ## If @var{dom} is a two element vector, it represents the minimum and maximum 32 ## If @var{dom} is a two element vector, it represents the minimum and maximum
33 ## value of @var{t}. @var{n} is a scalar defining the number of points to use. 33 ## value of @var{t}. @var{n} is a scalar defining the number of points to use.
34 ## 34 ##
35 ## The optional return value @var{h} provides a list of handles to the 35 ## The optional return value @var{h} is a graphics handle to the created plot.
36 ## the parts of the vector field (body, arrow and marker).
37 ## 36 ##
38 ## @example 37 ## @example
39 ## @group 38 ## @group
40 ## fx = @@(t) cos (t); 39 ## fx = @@(t) cos (t);
41 ## fy = @@(t) sin (t); 40 ## fy = @@(t) sin (t);
58 if (nargout > 0) 57 if (nargout > 0)
59 retval = h; 58 retval = h;
60 endif 59 endif
61 endfunction 60 endfunction
62 61
62
63 %!demo 63 %!demo
64 %! fx = @(t) cos (t); 64 %! fx = @(t) cos (t);
65 %! fy = @(t) sin (t); 65 %! fy = @(t) sin (t);
66 %! fz = @(t) t; 66 %! fz = @(t) t;
67 %! ezplot3 (fx, fy, fz, [0, 10*pi], 100); 67 %! ezplot3 (fx, fy, fz, [0, 10*pi], 100);
68