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

2 次查看(过去 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 中查找有关 Bar Plots 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by