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: Rik
Subject: [Octave-bug-tracker] [bug #59695] Strange quiver plot with integer data type
Date: Thu, 17 Dec 2020 16:28:07 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36

Update of bug #59695 (project octave):

        Operating System:       Microsoft Windows => Any                    

    _______________________________________________________

Follow-up Comment #3:

It's pretty trivial to cast the inputs to floating point with double() if we
want to.  If we did this, we should probably also take a look at all the other
plot functions and verify whether we want to do the same thing.

I tried this in Matlab


h = plot (int8(1:5), int8(1:5), 'o-')
class (get (h, 'xdata'))


and it returns "int8" so the plot function doesn't cast its inputs.

    _______________________________________________________

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]