![]() |
IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
|
converts colors to a map to be used by draw_stacked.m
Definition in file colors2map.m.
Go to the source code of this file.
Functions | |
function | colors2map (in colors, in no_hists, in no_informative) |
function colors2map | ( | in | colors, |
in | no_hists, | ||
in | no_informative | ||
) |
colors | =(default colors). Can be a cell of 2 elements, 3 elements or 4 elements.
|
no_hists | |
no_informative |
[cm, leg_cm, leg_la]
is a color map with no_hists
rows; leg_cm
is a color map with repeating colors grouped; leg_la
are the legend labels that correspond to leg_cm