How to plot a BAR chart

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

 채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 6월 15일

0 개 추천

X= {'28-30' '22-27' '13-21' '8-12' '4-7'}
Y=[ 3 16 70 8 3]
bar(Y)
set(gca,'xticklabel',X)

추가 답변 (0개)

카테고리

태그

질문:

2013년 6월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by