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

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

[Octave-bug-tracker] [bug #41851] ind2rgb values outside range of colour


From: Guillaume
Subject: [Octave-bug-tracker] [bug #41851] ind2rgb values outside range of colour map
Date: Mon, 17 Mar 2014 13:30:30 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0

Follow-up Comment #7, bug #41851 (project octave):

Thanks once again.
I personally think that the MATLAB behaviour is appropriate here and could be
implemented by having these lines in private/ind2x.m:


## Threshold out of range data
x = min (x, rows (map));
x = max (x, 1);


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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