Mercurial > octave-nkf
changeset 17559:636330292685
pcolor.m: Only turn on axis box when ishold is false.
* scripts/plot/pcolor.m: Only turn on axis box when ishold is false.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 03 Oct 2013 16:47:47 -0700 |
parents | e48a22b94727 |
children | 225ec9a0222a |
files | scripts/plot/pcolor.m |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/pcolor.m Thu Oct 03 16:42:42 2013 -0700 +++ b/scripts/plot/pcolor.m Thu Oct 03 16:47:47 2013 -0700 @@ -83,9 +83,8 @@ htmp = surface (x, y, z, c); set (htmp, "facecolor", "flat"); - set (hax, "box", "on"); if (! ishold ()) - set (hax, "view", [0, 90]); + set (hax, "view", [0, 90], "box", "on"); endif unwind_protect_cleanup