view .hgsubstate @ 20392:a3bf503652b2

iscolormap: relax input check - specially in [0 1] range. * scripts/image/iscolormap.m: relax input check. Allow for colormap of class single and values outside the [0 1] range. What to do in the case of values outside the [0 1] will need to be a per-function choice, in order to meet Matlab compatibility. Also, not Matlab supported, a colormap could perfectly be of class integer. * scripts/image/cmpermute.m, scripts/image/cmunique.m, scripts/image/imshow.m: add input check for values outside the [0 1] range.
author Carnë Draug <carandraug@octave.org>
date Thu, 16 Jul 2015 18:21:27 +0100
parents 85d9cb769e8b
children
line wrap: on
line source

7f19e7f2afa2b1476983003f9cd6df2f5b2a4b08 gnulib-hg