my root locus plot wont show the datatip

53 views (last 30 days)
Zain Ahmed
Zain Ahmed on 25 Aug 2020
Answered: Ahmad on 8 Jan 2024
i have a root locus plot here:
k = 1;
s = tf('s');
Gs = 1/(s^2+s);
Ks = k*(s+2)/(s+10);
sys = Gs*Ks/(1+Gs*Ks);
rlocus(sys);
But the problem is that, whenever i click on the line, the data won't display, just x and y coordinate. is there any fix to this?

Answers (2)

Kiran Felix Robert
Kiran Felix Robert on 28 Aug 2020
Hi Zain,
I assume that you are using the MATLAB live editor for root locus plot. This is a known issue, it is reported to the developers and the concerned people are looking into it.
One known workaround is to:
1. Create the root locus plot with either 'rlocus' command or the 'rlocusplot' command from a MATLAB script file or the command line.
2. Then use data cursor to examine various points of the root locus plot.
Kiran Felix Robert
  7 Comments
Henry Asa
Henry Asa on 12 Apr 2023
Any estimates/updates on when this will be fixed? I prefer using live scripts but this functionality is critical.
sihan zhang
sihan zhang on 5 May 2023
Edited: sihan zhang on 5 May 2023
still not working on the R2022b version

Sign in to comment.


Ahmad
Ahmad on 8 Jan 2024
clear all;clf;
numerator = [1 4];
denominator = [1 8 7 0];
sys = tf(numerator, denominator);
rlocus(sys);
grid on;
title('Root-Locus L(s) = s+4/s^3+8s^2+7s')

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!