フィルターのクリア

create figure with multiple bars

1 回表示 (過去 30 日間)
Brave A
Brave A 2019 年 4 月 14 日
編集済み: Walter Roberson 2019 年 4 月 14 日
I need code represent same this figure.
thanks in advance!

採用された回答

Walter Roberson
Walter Roberson 2019 年 4 月 14 日
bar() with 'stacked' option or 'Horizontal'. text() the labels you want into place. "hold on" and bar() again for the JAMA entry; you might need to use the 'baseline' property for it. It might be easier to just use fill() to draw the JAMA box.
  2 件のコメント
Brave A
Brave A 2019 年 4 月 14 日
Would give more details about the answer please.
Walter Roberson
Walter Roberson 2019 年 4 月 14 日
編集済み: Walter Roberson 2019 年 4 月 14 日
vals = [46.535 42.967 31.798 29.526 31.086 32.626 40.899 66.560 158.890 548.002];
bar(vals, 'horizontal', true, 'barwidth', 1);
yticklabels({'2048', '1024', '512', '256', '128', '64', '32', '16', '1:8', '1:4', ''})

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by