How do I create a stacked bar graph from values in a structured array?
Mostrar comentarios más antiguos
If I have a structured array
patient.percentages = { [02 08 09]; [23 20 24]; [] }
and I want to create a stacked bar graph (with each bar having three sections like in the []), how do I draw upon these elements in my bar code?
figure; bar(1:3, [percentages], 0.5, 'stack'); ?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Bar Plots 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!