How to plot a BAR chart

4 ビュー (過去 30 日間)
Atom
Atom 2013 年 6 月 15 日
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 日
X= {'28-30' '22-27' '13-21' '8-12' '4-7'}
Y=[ 3 16 70 8 3]
bar(Y)
set(gca,'xticklabel',X)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeBar Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by