![]() |
IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
|
Generates a colormap from an integer vector of classes.
The vector may also have "refuses" and outlier indicators (-1, -2, -3, ...). These negative values will be marked as black
Definition in file classes2colormap.m.
Go to the source code of this file.
Functions | |
function | classes2colormap (in y, in flag_skip) |
function classes2colormap | ( | in | y, |
in | flag_skip | ||
) |
y | integer vector of classes |
flag_skip | Whether to skip the non-existent indexes. If FALSE, colormap will be filled with grays |