Bar graph comments/define colours
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Alexandros Samp
am 5 Apr. 2016
Beantwortet: Walter Roberson
am 5 Apr. 2016
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
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 5 Apr. 2016
legend({'comment for lower bar', 'comment for higher bar'})
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Exploration finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!