フィルターのクリア

Bar graph comments/define colours

1 回表示 (過去 30 日間)
Alexandros Samp
Alexandros Samp 2016 年 4 月 5 日
回答済み: Walter Roberson 2016 年 4 月 5 日
Hello,
If i had a bar graph like this:
bar([1 2 3 ]',[4 5 6 ;6 7 8]','stacked')
How would i define the colour of the bar with a comments on the y axxis? for example
blue colour:'comment'
yellows colour: 'comment'
Thank you

採用された回答

Walter Roberson
Walter Roberson 2016 年 4 月 5 日
legend({'comment for lower bar', 'comment for higher bar'})

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeBar Plots についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by