octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #29986] Minor: calling plot with no arguments


From: Rik
Subject: [Octave-bug-tracker] [bug #29986] Minor: calling plot with no arguments results in errors (instead of just usage)
Date: Thu, 24 Jun 2010 19:23:58 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Ubuntu/9.10 (karmic) Firefox/3.5.9

Update of bug #29986 (project octave):

                  Status:         Patch Submitted => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #6:

I think JWE's approach is probably the way to go, although there was still a
bit more work to be done.  All of the plot commands accept the same sorts of
arguments so it had been convenient to have the error message in one place. 
When we rely on print_usage back in the 6 .m files then we also need to update
their documentation.

For example, semilogx says the calling convention is just 'semilogx (ARGS)'
whereas it really accepts around 6 different calling conventions.

I have updated the documentation and checked in a change here.

http://hg.savannah.gnu.org/hgweb/octave/rev/390d93e20531

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?29986>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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