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

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

[Octave-bug-tracker] [bug #59695] Strange quiver plot with integer data


From: anonymous
Subject: [Octave-bug-tracker] [bug #59695] Strange quiver plot with integer data type
Date: Tue, 15 Dec 2020 18:25:38 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?59695>

                 Summary: Strange quiver plot with integer data type
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Tue 15 Dec 2020 11:25:36 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Inaccurate Result
                  Status: None
             Assigned to: None
         Originator Name: Berk
        Originator Email: berkaykanber@gmail.com
             Open/Closed: Open
                 Release: 6.1.0
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:



[X,Y] = meshgrid(0:6,0:6);
U = 0.25*X;
V = 0.5*Y;

quiver(X,Y,U,V,0)
figure, quiver(X,Y,int16(U),int16(V),0)

First one gives the expected plot. Second one produces a plot but every line
segment is connected to the origin. I'm aware the second plot isn't supposed
to be identical to the first one but this behavior seems like a bug. 



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 15 Dec 2020 11:25:36 PM UTC  Name: normal.png  Size: 68KiB   By:
None

<http://savannah.gnu.org/bugs/download.php?file_id=50485>
-------------------------------------------------------
Date: Tue 15 Dec 2020 11:25:36 PM UTC  Name: with_int_data.png  Size: 202KiB  
By: None

<http://savannah.gnu.org/bugs/download.php?file_id=50486>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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