Displaying bar plots side by side
Mostrar comentarios más antiguos
Hi,
I want to use barh to display horizontal bar plot for 2 things. Hold on doesn't seem to work. How to do this? barh([1,2,3]) and barh([..]) I want the 2 things to be not overlayed but on top of one another in horizontal bar plot.
thanks, henry
2 comentarios
henry wang
el 4 de Feb. de 2011
Walter Roberson
el 4 de Feb. de 2011
You want "stacked" bars?
Respuestas (2)
Walter Roberson
el 4 de Feb. de 2011
Example:
barh([12:14],1:3);
hold on
barh([3/2 1 2]);
Walter Roberson
el 5 de Feb. de 2011
0 votos
Categorías
Más información sobre App Building en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!