필터 지우기
필터 지우기

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 CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by