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

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

[Octave-bug-tracker] [bug #34130] plotting integer against uint8 saturat


From: anonymous
Subject: [Octave-bug-tracker] [bug #34130] plotting integer against uint8 saturates the integer at uint8 bounds
Date: Fri, 26 Aug 2011 21:45:51 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.20) Gecko/20110822 Gentoo

Follow-up Comment #1, bug #34130 (project octave):

a clean work around is to typecast x directly as uint8.

Also note that in example x autoscale is correctly down to -3 but data
truncated at zero for neg values. 

Suggests some intermediate variable is not correctly typed is y is typed and x
not. 

x=uint8(-3:3);  # works

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34130>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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