changing bar color to black and white
Show older comments
Hello every body
I want to change the color of a bar element to black and white, I don't know how to use the RGB codes of the colors.
bar(mydata, ' stacked ', 'color' , 'DimGray');
As I googled I find '65 65 65' for RGB code of 'dimGray' , and also I used
bar(mydata, ' stacked ', 'color' , [ 65 65 65 ]);
but it doesn't work out.
Could anyone help me in this issue?
Appreciate your kind help.
Accepted Answer
More Answers (0)
Categories
Find more on Bar Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!