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일

0 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

태그

질문:

2015년 9월 14일

댓글:

2015년 10월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by