comparison scripts/plot/bar.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 72c96de7a403
comparison
equal deleted inserted replaced
14000:15400d5deb1c 14001:5f0bb45e615c
34 ## separate bar graph plotted on the same graph. By default the columns 34 ## separate bar graph plotted on the same graph. By default the columns
35 ## are plotted side-by-side. This behavior can be changed by the @var{style} 35 ## are plotted side-by-side. This behavior can be changed by the @var{style}
36 ## argument, which can take the values @code{"grouped"} (the default), 36 ## argument, which can take the values @code{"grouped"} (the default),
37 ## or @code{"stacked"}. 37 ## or @code{"stacked"}.
38 ## 38 ##
39 ## The optional return value @var{h} provides a handle to the "bar series" 39 ## The optional return value @var{h} is a handle to the created "bar series"
40 ## object with one handle per column of the variable @var{y}. This 40 ## object with one handle per column of the variable @var{y}. This
41 ## series allows common elements of the group of bar series objects to 41 ## series allows common elements of the group of bar series objects to
42 ## be changed in a single bar series and the same properties are changed 42 ## be changed in a single bar series and the same properties are changed
43 ## in the other "bar series". For example, 43 ## in the other "bar series". For example,
44 ## 44 ##
91 91
92 function varargout = bar (varargin) 92 function varargout = bar (varargin)
93 varargout = cell (nargout, 1); 93 varargout = cell (nargout, 1);
94 [varargout{:}] = __bar__ (true, "bar", varargin{:}); 94 [varargout{:}] = __bar__ (true, "bar", varargin{:});
95 endfunction 95 endfunction
96
97
98 %% FIXME: Need demo or test for function
99