Mercurial > octave-nkf
comparison 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 |
comparison
equal
deleted
inserted
replaced
6894:0a71f51ae624 | 6895:76e3d985ae56 |
---|---|
17 ## Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | 17 ## Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
18 ## 02110-1301, USA. | 18 ## 02110-1301, USA. |
19 | 19 |
20 ## -*- texinfo -*- | 20 ## -*- texinfo -*- |
21 ## @deftypefn {Function File} {} gca () | 21 ## @deftypefn {Function File} {} gca () |
22 ## Return the current axis handle. | 22 ## Return a handle to the current axis object. If no axis object |
23 ## exists, create one and return its handle. The handle may then be | |
24 ## used to examine or set properties of the axes. For example, | |
25 ## | |
26 ## @example | |
27 ## @group | |
28 ## ax = gca (); | |
29 ## set (ax, "position", [0.5, 0.5, 0.5, 0.5]); | |
30 ## @end group | |
31 ## @end example | |
32 ## | |
33 ## @noindent | |
34 ## creates an empty axes object, then changes its location and size in | |
35 ## the figure window. | |
36 ## @seealso{get, set} | |
23 ## @end deftypefn | 37 ## @end deftypefn |
24 | 38 |
25 ## Author: jwe | 39 ## Author: jwe |
26 | 40 |
27 function h = gca () | 41 function h = gca () |