Nyquist plot and arrows

5 ビュー (過去 30 日間)
Anna
Anna 2015 年 9 月 14 日
コメント済み: Anna 2015 年 10 月 13 日
I'd like to draw Nyquist plot without arrows. I wonder if there is an option that makes it possible to choose whether I want the arrow on the plot. Alternatively, I'd like to remove the arrows after drawing the plot.

採用された回答

Tim Jackman
Tim Jackman 2015 年 9 月 16 日
I looked and didn't find a direct option to turn off the arrows. Maybe someone better with graphics can help you there. As a crude workaround, you can set the lines with the arrows to be invisible and plot them again using the XData and YData properties. For example:
>> H = tf([2 5 1],[1 2 3]);
>> nyquist(H)
>> handles = findobj(gcf);
Now I'm going to make the lines from the Group object invisible (This may be different depending on your data):
>> handles(14).Visible = 'off';
Now plot the lines using the XData and YData from the grouped objects:
>> hold on;
>> plot(handles(14).Children(1).XData,handles(14).Children(1).YData,'b')
>> plot(handles(14).Children(2).XData,handles(14).Children(2).YData,'b')
Hopefully this should at least get you started with what you want to do.
  1 件のコメント
Anna
Anna 2015 年 10 月 13 日
Perfect! It works exactly as I needed. Thanks.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by