Mercurial > octave-nkf
comparison scripts/plot/pcolor.m @ 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 | 68bcac3c043a |
children |
comparison
equal
deleted
inserted
replaced
17558:e48a22b94727 | 17559:636330292685 |
---|---|
81 unwind_protect | 81 unwind_protect |
82 hax = newplot (hax); | 82 hax = newplot (hax); |
83 htmp = surface (x, y, z, c); | 83 htmp = surface (x, y, z, c); |
84 | 84 |
85 set (htmp, "facecolor", "flat"); | 85 set (htmp, "facecolor", "flat"); |
86 set (hax, "box", "on"); | |
87 if (! ishold ()) | 86 if (! ishold ()) |
88 set (hax, "view", [0, 90]); | 87 set (hax, "view", [0, 90], "box", "on"); |
89 endif | 88 endif |
90 | 89 |
91 unwind_protect_cleanup | 90 unwind_protect_cleanup |
92 if (! isempty (oldfig)) | 91 if (! isempty (oldfig)) |
93 set (0, "currentfigure", oldfig); | 92 set (0, "currentfigure", oldfig); |