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

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

[Octave-bug-tracker] [bug #55570] quiver3 gives error for 4-input form o


From: Rik
Subject: [Octave-bug-tracker] [bug #55570] quiver3 gives error for 4-input form of function
Date: Sun, 3 Mar 2019 18:12:16 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #55570 (project octave):

                  Status:               Confirmed => In Progress            

    _______________________________________________________

Follow-up Comment #7:

I changed the documentation and the input validation for the 4-input form of
the function to work
(https://hg.savannah.gnu.org/hgweb/octave/rev/677764865056).  The input
validation needs to be improved because it is simple to confuse the
__quiver__.m function right now.  The following code uses a 3-input form which
is invalid, but the message is obtuse.


z = peaks (25);
[u, v, w] = surfnorm (z / 10);
h = quiver3 (u, v, w);
error: varargin(6): out of bound 5
error: called from
    __quiver__ at line 52 column 9
    quiver3 at line 86 column 10




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55570>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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