I am trying to apply a colormap on my bar chart in matlab. It should be a simple thing to do if you read the short explanation given on the web page of matlab but I still can't make it.
b = bar(cell2mat(data_plot'))
set(gca, 'YScale', 'log');
ylabel('Some Label');
xlabel('Some Label')
colormap (bar, copper)
I don't get a copper color map, it is the same as it was. I have also tried the following command:
colormap copper
Still no results. Can someone tell me, what my mistake is ?