
Make a simple bar chart (and get its handle):
figure rng default hb = bar(rand(1,3));
How can I set the colors of those bars now (after I have made the figure)? I want each bar to be a different color.
I am specifically asking about MATLAB R2016b.
I asked a very similar question about MATLAB R2014b earlier, but that method no longer seems to work. (Or I am overlooking something again.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!