Borrar filtros
Borrar filtros

Bar graph comments/define colours

1 visualización (últimos 30 días)
Alexandros Samp
Alexandros Samp el 5 de Abr. de 2016
Respondida: Walter Roberson el 5 de Abr. de 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

Respuesta aceptada

Walter Roberson
Walter Roberson el 5 de Abr. de 2016
legend({'comment for lower bar', 'comment for higher bar'})

Más respuestas (0)

Categorías

Más información sobre Bar Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by