Mercurial > hg > octave-lyh
comparison scripts/plot/ezpolar.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 ## | 30 ## |
31 ## If @var{dom} is a two element vector, it represents the minimum and maximum | 31 ## If @var{dom} is a two element vector, it represents the minimum and maximum |
32 ## value of both @var{t}. @var{n} is a scalar defining the number of points to | 32 ## value of both @var{t}. @var{n} is a scalar defining the number of points to |
33 ## use. | 33 ## 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 ## ezpolar (@@(t) 1 + sin (t)); | 38 ## ezpolar (@@(t) 1 + sin (t)); |
40 ## @end example | 39 ## @end example |
41 ## | 40 ## |
53 if (nargout > 0) | 52 if (nargout > 0) |
54 retval = h; | 53 retval = h; |
55 endif | 54 endif |
56 endfunction | 55 endfunction |
57 | 56 |
57 | |
58 %!demo | 58 %!demo |
59 %! ezpolar (@(t) 1 + sin (t)); | 59 %! ezpolar (@(t) 1 + sin (t)); |
60 |