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	Thu Sep 13 16:36:18 2007 +0000
+++ b/scripts/plot/gca.m	Thu Sep 13 18:22:51 2007 +0000
@@ -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