Bar to variation a parameter into script

1 view (last 30 days)
Herenilton
Herenilton on 21 Oct 2022
Answered: dpb on 21 Oct 2022
Hello!
How can I put those bar below to variate parameter in a graph?

Answers (1)

dpb
dpb on 21 Oct 2022
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 2-D and 3-D Plots 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!