채택된 답변

Walter Roberson
Walter Roberson 2019년 4월 14일

0 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

태그

질문:

2019년 4월 14일

편집:

2019년 4월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by