multiple barh plot with different base value settings in the same graph

조회 수: 1 (최근 30일)
Is there any way to have multiple horizontal bar plots in the same figure with different base value settings?
simply typing the following does not work properly. what I want is multiple separate horizontal bar charts starting at different positions in the same plot.
barh([5,10,15,20],[550,150,220,120],'BaseValue',260);
hold on
barh([5,10,15,20],[55,150,22,12],'BaseValue',26);
I figure I am missing something obvious, I hope
thanks Greg

답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by