Bar to variation a parameter into script
1 view (last 30 days)
Show older comments
Hello!
How can I put those bar below to variate parameter in a graph?
0 Comments
Answers (1)
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
0 Comments
See Also
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!