Mercurial > octave-nkf
comparison scripts/plot/appearance/datetick.m @ 19630:0e1f5a750d00
maint: Periodic merge of gui-release to default.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 20 Jan 2015 10:24:46 -0500 |
parents | 9c5a17d5fc19 446c46af4b42 |
children | 4197fc428c7d |
comparison
equal
deleted
inserted
replaced
19626:37d37297acf8 | 19630:0e1f5a750d00 |
---|---|
39 if (! isempty (hax)) | 39 if (! isempty (hax)) |
40 oldfig = get (0, "currentfigure"); | 40 oldfig = get (0, "currentfigure"); |
41 endif | 41 endif |
42 if (isempty (hax)) | 42 if (isempty (hax)) |
43 hax = gca (); | 43 hax = gca (); |
44 endif | 44 endif |
45 | 45 |
46 unwind_protect | 46 unwind_protect |
47 ## FIXME: This will bring the axes to the top of the stack. | 47 ## FIXME: This will bring the axes to the top of the stack. |
48 ## This may not be desirable if there are multiple axes objects, | 48 ## This may not be desirable if there are multiple axes objects, |
49 ## such as can occur with plotyy. | 49 ## such as can occur with plotyy. |
97 if (any (idx)) | 97 if (any (idx)) |
98 keepticks = true; | 98 keepticks = true; |
99 varargin = varargin(! idx); | 99 varargin = varargin(! idx); |
100 endif | 100 endif |
101 | 101 |
102 nargin = numel (varargin); | 102 nargin = numel (varargin); |
103 form = []; | 103 form = []; |
104 ax = "x"; | 104 ax = "x"; |
105 | 105 |
106 if (nargin != 0) | 106 if (nargin != 0) |
107 arg = varargin{1}; | 107 arg = varargin{1}; |