Any way to stack histograms?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have 11 matrices, each that I want to pull the 9th column from it and plot a stacked histogram (each matrix would need to have a separate color associated with the histogram stack). If I can't do a stacked histogram, can I do a bar chart that would look exactly like a stacked histogram? Thanks!
0 comentarios
Respuestas (2)
Teja Muppirala
el 12 de Oct. de 2012
Can you use the 'stacked' option, as described in the help for BAR?
bar(rand(10,5),'stacked'), colormap(cool)
0 comentarios
Ver también
Categorías
Más información sobre Histograms 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!