필터 지우기
필터 지우기

pzplot - remove inner axis labels

조회 수: 8 (최근 30일)
Philipp
Philipp 2023년 5월 20일
댓글: Philipp 2023년 6월 9일
I would like to remove the inner labels along the axes in this with pzplot created pole-zero-map. Unfortunately, they are automatically created along with the gridlines, although there are already labels on the axes along the sides of the diagram.
Is it possible to remove these inner labels without removing the grid lines? Thanks!

채택된 답변

Joel
Joel 2023년 6월 9일
편집: Joel 2023년 6월 9일
Hi,
I am assuming that when you say inner axis labels, you mean the labels representing the constant frequency and constant damping grid lines. As of now, there is no direct way to do this but you can try this work-around:
  • Run the following code.
P = pzoptions;
P.TickLabel.FontSize = 0.0001;
P.Grid = 'on';
pzplot(tf([1],[1 5 10.25]),P);
  • As a result of setting the TickLabel.FontSize option to a very small value (0.0001). The tick labels along the X and Y axes will also shrink and seem invisible.
  • To rectify this problem: Open the figure => Navigate to ‘Edit’ => Click on ‘Axes Properties’ => Go to ‘FONT’ and change FontSize to a bigger value (say, 14).
  • Close the Property Inspector, changes should be reflected in your plot.
Please note, I am using MATLAB r2022b. I've attached my final plot.
  댓글 수: 1
Philipp
Philipp 2023년 6월 9일
Thanks for the response! That workaround seems to do what I wanted!

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

추가 답변 (0개)

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!