How to plot a BAR chart
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
How to plot a BAR chart with the following data
X: 28-30 22-27 13-21 8-12 4-7
Y: 3 16 70 8 3
0 comentarios
Respuesta aceptada
Azzi Abdelmalek
el 15 de Jun. de 2013
X= {'28-30' '22-27' '13-21' '8-12' '4-7'}
Y=[ 3 16 70 8 3]
bar(Y)
set(gca,'xticklabel',X)
0 comentarios
Más respuestas (0)
Ver también
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!