フィルターのクリア

How to create stacked bar plot where each stack is of equal height and filled partially to user desired value ?

2 ビュー (過去 30 日間)
How to create stacked bar plot where each stack is of equal height and filled partially to user desired value ?

採用された回答

Matt J
Matt J 2023 年 4 月 23 日
編集済み: Matt J 2023 年 4 月 23 日
height=1;
y=rand(4,1);
B=bar([y,height-y],'stacked'); axis padded
B(2).FaceColor='none';

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by