Effacer les filtres
Effacer les filtres

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

4 vues (au cours des 30 derniers jours)
Gregory McFadden
Gregory McFadden le 13 Déc 2017
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

Réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by