Bar to variation a parameter into script
Show older comments
Hello!
How can I put those bar below to variate parameter in a graph?

Answers (1)
No real idea what the above is asking for, specifically, but...
V=[0.15;500;21];
Y=categorical({'kp','ki','kd'});
barh(Y,V,0.1)
hold on
scatter(V,Y,100,'w','filled','MarkerEdgeColor','k')
xticks([])
hAx=gca;
hAx.XAxis.Visible='off';
box off
Categories
Find more on Aerospace Blockset in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!