[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #59695] Strange quiver plot with integer data
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #59695] Strange quiver plot with integer data type |
Date: |
Thu, 17 Dec 2020 15:20:07 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0 |
Follow-up Comment #2, bug #59695 (project octave):
@Rik: Matlab indeed does cast input data to double and store them as such. I
ran the following code in Matlab and it returned "double" for both UData and
VData.
[X,Y] = meshgrid (0:6, 0:6);
U = 0.25*X;
V = 0.5*Y;
obj = quiver (X, Y, int16 (U), int32 (V), 0);
class (obj.UData)
class (obj.VData)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59695>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/