multiple barh plot with different base value settings in the same graph
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!