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 24 84 80]);
Edit: Solved the problem. I was running the code in a live script, but it must be executed in Command Window.
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!!