Mercurial > hg > octave-lyh
diff scripts/plot/gca.m @ 6895:76e3d985ae56
[project @ 2007-09-13 18:22:38 by jwe]
author | jwe |
---|---|
date | Thu, 13 Sep 2007 18:22:51 +0000 |
parents | 44c91c5dfe1d |
children | 93c65f2a5668 |
line wrap: on
line diff
--- a/scripts/plot/gca.m +++ b/scripts/plot/gca.m @@ -19,7 +19,21 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {} gca () -## Return the current axis handle. +## Return a handle to the current axis object. If no axis object +## exists, create one and return its handle. The handle may then be +## used to examine or set properties of the axes. For example, +## +## @example +## @group +## ax = gca (); +## set (ax, "position", [0.5, 0.5, 0.5, 0.5]); +## @end group +## @end example +## +## @noindent +## creates an empty axes object, then changes its location and size in +## the figure window. +## @seealso{get, set} ## @end deftypefn ## Author: jwe