Mercurial > octave
diff scripts/plot/draw/quiver.m @ 22366:837df5db5710
Make graphic functions visually compatible w/Matlab.
* image.m: Turn "box" on.
* legend.m: Use '#' in BIST titles.
* area.m: Turn "box" on. Fix transpose operator that was accidentally
changed to `"'.
* colorbar.m: Turn "box" on. Remove logscale colorbar BIST demo
since it doesn't work for Octave or Matlab.
* contour.m: Turn "box" on.
* fill.m: Turn "box" on.
* isosurface.m: Use cell array of strings in annotation box of %!demo
to get multi-line strings. Remove newline.
* light.m: Use cell array of strings in annotation box of %!demo
to get multi-line strings.
* loglog.m: Turn "box" on.
* loglogerr.m: Turn "box" on.
* __bar__.m: Turn "box" on.
* __quiver__.m: Rename 'h' to 'hax' for clarity.
* quiver.m: Turn "box" on.
* semilogx.m: Turn "box" on.
* semilogy.m: Turn "box" on.
* shrinkfaces.m: Call 'axis auto' to update plot limits before
calling 'axis equal'. This is a kludge that should be fixed in axis.
* stairs.m: Turn "box" on.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 23 Aug 2016 10:12:28 -0700 |
parents | bac0d6f07a3e |
children | 3a2b891d0b33 e9a0469dedd9 |
line wrap: on
line diff
--- a/scripts/plot/draw/quiver.m Tue Aug 23 15:37:21 2016 +0100 +++ b/scripts/plot/draw/quiver.m Tue Aug 23 10:12:28 2016 -0700 @@ -80,6 +80,13 @@ unwind_protect hax = newplot (hax); htmp = __quiver__ (hax, false, varargin{:}); + + ## FIXME: This should be moved into __quiver__ when problem with + ## re-initialization of title object is fixed. + if (! ishold ()) + set (hax, "box", "on"); + endif + unwind_protect_cleanup if (! isempty (oldfig)) set (0, "currentfigure", oldfig);