changeset 23313:28f1ffaf9e05

maint: merge stable to default.
author Rik <rik@octave.org>
date Mon, 20 Mar 2017 08:59:07 -0700
parents 55f1132aab20 (current diff) 7f42006b9465 (diff)
children c9e68e3a9e15
files scripts/plot/draw/errorbar.m
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/draw/errorbar.m	Mon Mar 20 06:37:28 2017 -0400
+++ b/scripts/plot/draw/errorbar.m	Mon Mar 20 08:59:07 2017 -0700
@@ -179,6 +179,10 @@
     hax = newplot (hax);
 
     htmp = __errplot__ ("errorbar", hax, varargin{:});
+
+    if (! ishold ())
+      set (hax, "box", "on");
+    endif
   unwind_protect_cleanup
     if (! isempty (oldfig))
       set (0, "currentfigure", oldfig);