octave-maintainers
[Top][All Lists]

## Re: Help with rlocus appearance of initial location of poles and zeros

 From: Doug Stewart Subject: Re: Help with rlocus appearance of initial location of poles and zeros Date: Fri, 26 Jan 2018 10:38:02 -0500

On Fri, Jan 26, 2018 at 8:00 AM, Beginner1 wrote:
<http://octave.1599824.n4.nabble.com/file/t372684/rlocus.jpg>
<http://octave.1599824.n4.nabble.com/file/t372684/rlocus_zoom.jpg> Hi,
I write this post to ask for help in increasing the markersize of the
initial location of the poles (x) and zeros (o) at the rootocus diagram.
This is my code:

%ki=1;
kp=1.5;
w=314.159;

num=([kp ki kp*w.^2]);
den=([1 0 w.^2]);
sis=tf(num,den);

[RLDATA, ki] = rlocus (sis, 0.1, 0, 500);
%plot(rlocus(sis),"*","markersize",1)
rlocus(sis)
y=rlocus(sis,"marker","x","markersize",20)
%plot(rlocus(sis),"marker", "x", "markersize", 3, "linestyle",
"none","markerfacecolor", "blue");/

I have tried with different options of increasing the size of the plot but
none of them
produces any change in the plot. Attached you will find the figure.
Basically I want to increase the size of the red and green dots, but not the
blue line that connnect the poles with the zeros.

Thank you.

Best regards,

Marta

here is a work around.

ki=1;
kp=1.5;
w=314.159;

num=([kp ki kp*w.^2]);
den=([1 0 w.^2]);
sis=tf(num,den);

[RLDATA, ki] = rlocus (sis, 0.1, 0, 500);
%plot(rlocus(sis),"*","markersize",1)
rlocus(sis)

nr=roots(num);
dr=roots(den);
hold onĀ
plot(nr,"co","markersize",15)
plot(dr,"rx","markersize",15)
hold off

--
DAS