help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

box() problem (was Re: Questions from user)


From: Przemek Klosowski
Subject: box() problem (was Re: Questions from user)
Date: Wed, 13 Aug 2014 14:48:28 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0

On 08/13/2014 05:52 AM, Omar Aldakkak wrote:

I got error like this: 
 Invalid call to box.  Correct usage is:

 -- Function File:  box (ARG)
 -- Function File:  box (H, ...)


Your code calls box(axes1,'on') . It's possible that just box('on') would work---can you try it?

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]