Bar to variation a parameter into script

1 次查看(过去 30 天)
Hello!
How can I put those bar below to variate parameter in a graph?

回答(1 个)

dpb
dpb 2022-10-21
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

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by