I am trying to have bar chart that has color according to its value. I can get the bar chart and heatmap separate but not together.
as well as CData and vals2colormap. But it didn't work form. Please some help :)
Here are the commands I try to combine:
h = bar(t,retndecm(:,1),"stacked");
l = heatmap(t, retndecm(:,1)','Colormap',jet);