On 08/13/2014 02:48 PM, Przemek
Klosowski wrote:
Actually, I think you discovered a bug in box(). The documentation
implies that box() can have one or two parameters, but the actual
code only allows zero or one parameter. The code actually makes
sense to me: box() toggles the box state, and box('on'/'off') sets
it appropriately; everything else is an error.
If that's the case, only the doc text needs to be fixed; otherwise, please suggest what it should do for two or more parameters.
Actually, nevermind---I saw this problem in my 3.6.4 but it's been fixed in 3.8:
http://hg.savannah.gnu.org/hgweb/octave/file/d69358d7f9bb/scripts/plot/appearance/box.m
|