Bar 10x2 double array in different colors per colom?
1 次查看(过去 30 天)
显示 更早的评论
Is it possible to plot my 10x2 double array in different colors per colom?
e.g.
data=[2 3; 3 4; 4 5;];
x=[1;2;3];
I want to use:
bar(x,data);
but the first colom is blue and the 2nd is red for better distinction in the figure.
0 个评论
回答(2 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!