How can I change the linewidth in a pzmap?

조회 수: 25 (최근 30일)
Jens Grachtrup
Jens Grachtrup 2020년 9월 26일
댓글: Ameer Hamza 2020년 9월 26일
I'm really sorry if this question is answered previously. I want to increase the linewidth in a pzmap, because I should create lots of pzmaps for students and the normal thickness of the "x"s and "o"s are to bad to see in a script. So i hoped i can use:
s = tf('s');
G=s+3/((s+4)*(s^2+1))
pzmap(G, 'K', 'LineWidth', 2 )
This isn't working. Can somebody help me?

답변 (1개)

Ameer Hamza
Ameer Hamza 2020년 9월 26일
편집: Ameer Hamza 2020년 9월 26일
This is one way
fig = figure();
ax = axes();
s = tf('s');
G=s+3/((s+4)*(s^2+1));
pzmap(ax, G);
l_zero = findall(ax, 'tag', 'PZ_Zero');
l_pole = findall(ax, 'tag', 'PZ_Pole');
l_zero.MarkerSize = 10;
l_pole.MarkerSize = 10;
l_zero.LineWidth = 2;
l_pole.LineWidth = 2;
  댓글 수: 2
Jens Grachtrup
Jens Grachtrup 2020년 9월 26일
Thank you. This is working!
Ameer Hamza
Ameer Hamza 2020년 9월 26일
I am glad to be of help!!!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Stability Analysis에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by