Mercurial > octave
changeset 23312:7f42006b9465 stable
errorbar.m: move code for axes modifications AFTER plot has been made.
Change cset c0cc56ab176d to conform to general pattern in plot/draw directory.
* errorbar.m: Move code to turn 'box' on after errorbar has been plotted.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 20 Mar 2017 08:48:08 -0700 |
parents | c0cc56ab176d |
children | 28f1ffaf9e05 c0bfb20b0457 |
files | scripts/plot/draw/errorbar.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/draw/errorbar.m Mon Mar 20 13:12:56 2017 +0100 +++ b/scripts/plot/draw/errorbar.m Mon Mar 20 08:48:08 2017 -0700 @@ -178,11 +178,11 @@ unwind_protect hax = newplot (hax); + htmp = __errplot__ ("errorbar", hax, varargin{:}); + if (! ishold ()) set (hax, "box", "on"); endif - - htmp = __errplot__ ("errorbar", hax, varargin{:}); unwind_protect_cleanup if (! isempty (oldfig)) set (0, "currentfigure", oldfig);