Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MATLAB - Plot half the Nyquist Plot

Tags:

plot

matlab

Is there a way to only plot half the nyquist plot in MATLAB? Nyquist usually has the two lines that go in opposite directions (one going up, and one going down). I only want to plot the one going down.

I know that I can only show the negative axis to "hide" the positive bit of the plot, but I want to show the whole chart, but only have the one line:

enter image description here

like image 524
Kousha Avatar asked Mar 14 '26 18:03

Kousha


1 Answers

Okay, I got the answer. Use nyquistplot instead of nyquist and set the option ShowFullContour to off:

% This is an example contour
G = tf(80, [1 9 30 40]);

h = nyquistplot(G);
setoptions(h, 'ShowFullContour', 'off');
like image 74
Kousha Avatar answered Mar 17 '26 10:03

Kousha