Root Locus system description at given point not showing up
조회 수: 13(최근 30일)
표시 이전 댓글
When I use rlocus(), clicking on a point simply displays the coordinates rather than the system information at that point (gain, damping ratio, etc). Additionally, 'grid on' gives an error.
g=tf([1],[1 24 84 80]);
rlocus(g)

Edit: Solved the problem. I was running the code in a live script, but it must be executed in Command Window.
답변(2개)
Pravarthana P
2022년 4월 8일
Hi Whitten Oswald,
I understand that you are looking for the system information while hovering over the plot.
In MATLAB versions R2018b or later, the data cursor mode has been made as the built-in interactions. Since you are using R2021b, the data points should be enabled by default.
I tried reproducing the issue at my end and I could see the information datapoints enabled by default. One possible work around would be to customize your built-in interactions and add dataTipInteraction to the Interaction array.
Hope this helps you!!
Paul
2022년 4월 8일
Is there any chance that you have some local version of rlocus() that is shadowing the Control System Toolbox? What is the output of
which rlocus -all
g=tf([1],[1 24 84 80]);
which rlocus(g)
댓글 수: 4
Y. Shen
2022년 11월 26일
I have the same problem. I have MATLAB both on my desktop and laptop. On my laptop it shows all the parameters but for some reason the desktop version just shows teh value for x and y axis.
참고 항목
범주
Find more on Classical Control Design 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!