derive RGB triplets from scalar input
Syntax
Input
val | list of scalar values |
cmap | name of the colormap, either builtin or mtexColormap |
Output
rgb | n-by-3 rgb triplets |
Options
N | number of colors (default 255) |
range | [lower, upper] limit of value (default is min() max()) |