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 3 inputs


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #55570] quiver3 gives error for 3 inputs
Date: Fri, 25 Jan 2019 13:26:54 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Update of bug #55570 (project octave):

                  Status:                    None => Confirmed              
                 Release:                   5.0.1 => 5.0.90                 

    _______________________________________________________

Follow-up Comment #1:

Confirmed with 5.0.90, and this does not seem to be a regression, just a bug
that is never exercised. All of the help and demo examples for quiver3 use the
6-argument form.

This error occurs with both the 3-argument form, when passing in x,y,z as
vectors, or as a meshgrid.


>> u = rand (25);
>> v = rand (25);
>> w = rand (25);
>> quiver3 (u, v, w)
error: __quiver__: operator +: nonconformant arguments (op1 is 15625x1, op2 is
625x1)
error: called from
    __quiver__ at line 197 column 10
    quiver3 at line 87 column 10

>> x = 1:25; y = 1:25; z = 1:25;
>> quiver3 (x, y, z, u, v, w)
error: __quiver__: operator +: nonconformant arguments (op1 is 15625x1, op2 is
625x1)
error: called from
    __quiver__ at line 197 column 10
    quiver3 at line 87 column 10

>> [x, y, z] = meshgrid (1:25, 1:25, 1:25);
>> quiver3 (x, y, z, u, v, w)
error: __quiver__: operator +: nonconformant arguments (op1 is 15625x1, op2 is
625x1)
error: called from
    __quiver__ at line 197 column 10
    quiver3 at line 87 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]