Mercurial > hg > octave-lyh
comparison scripts/plot/stem3.m @ 16814:64e7bb01fce2
doc: Improve documentation for 2-D plot functions
* doc/interpreter/plot.txi: Rewrite documentation around get/set.
* libinterp/interpfcn/graphics.cc(Fget, Fset): Add seealso links. Add
additional calling forms for get().
* scripts/plot/bar.m, scripts/plot/barh.m, scripts/plot/comet.m,
scripts/plot/comet3.m, scripts/plot/contour.m, scripts/plot/contour3.m,
scripts/plot/contourc.m, scripts/plot/contourf.m, scripts/plot/errorbar.m,
scripts/plot/gca.m, scripts/plot/gcf.m, scripts/plot/gco.m,
scripts/plot/ishghandle.m, scripts/plot/loglogerr.m, scripts/plot/pareto.m,
scripts/plot/pcolor.m, scripts/plot/pie.m, scripts/plot/pie3.m,
scripts/plot/plotmatrix.m, scripts/plot/plotyy.m, scripts/plot/polar.m,
scripts/plot/quiver.m, scripts/plot/quiver3.m, scripts/plot/rose.m,
scripts/plot/scatter.m, scripts/plot/semilogxerr.m, scripts/plot/semilogyerr.m,
scripts/plot/sombrero.m, scripts/plot/stairs.m, scripts/plot/stem.m,
scripts/plot/stem3.m: Improve docstrings.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 22 Jun 2013 17:40:52 -0700 |
parents | f3d52523cde1 |
children | b2cbf369837e |
comparison
equal
deleted
inserted
replaced
16813:81e041f5633a | 16814:64e7bb01fce2 |
---|---|
15 ## You should have received a copy of the GNU General Public License | 15 ## You should have received a copy of the GNU General Public License |
16 ## along with Octave; see the file COPYING. If not, see | 16 ## along with Octave; see the file COPYING. If not, see |
17 ## <http://www.gnu.org/licenses/>. | 17 ## <http://www.gnu.org/licenses/>. |
18 | 18 |
19 ## -*- texinfo -*- | 19 ## -*- texinfo -*- |
20 ## @deftypefn {Function File} {@var{h} =} stem3 (@var{x}, @var{y}, @var{z}, @var{linespec}) | 20 ## @deftypefn {Function File} {} stem3 (@var{x}, @var{y}, @var{z}) |
21 ## @deftypefnx {Function File} {} stem3 (@var{x}, @var{y}, @var{z}, @var{linespec}) | |
22 ## @deftypefnx {Function File} {@var{h} =} stem3 (@dots{}) | |
21 ## Plot a three-dimensional stem graph and return the handles of the line | 23 ## Plot a three-dimensional stem graph and return the handles of the line |
22 ## and marker objects used to draw the stems as "stem series" object. | 24 ## and marker objects used to draw the stems as "stem series" object. |
23 ## The default color is @code{"r"} (red). The default line style is | 25 ## The default color is @code{"r"} (red). The default line style is |
24 ## @code{"-"} and the default marker is @code{"o"}. | 26 ## @code{"-"} and the default marker is @code{"o"}. |
25 ## | 27 ## |
33 ## @end example | 35 ## @end example |
34 ## | 36 ## |
35 ## @noindent | 37 ## @noindent |
36 ## plots 31 stems with heights from 0 to 6 lying on a circle. Color | 38 ## plots 31 stems with heights from 0 to 6 lying on a circle. Color |
37 ## definitions with RGB-triples are not valid! | 39 ## definitions with RGB-triples are not valid! |
38 ## @seealso{bar, barh, stem, plot} | 40 ## @seealso{stem, bar, barh, plot} |
39 ## @end deftypefn | 41 ## @end deftypefn |
40 | 42 |
41 function h = stem3 (varargin) | 43 function h = stem3 (varargin) |
42 | 44 |
43 if (nargin < 1 || nargin > 4) | 45 if (nargin < 1 || nargin > 4) |