Plot response graph properties

조회 수: 22 (최근 30일)
Muhammad Sannan Ali
Muhammad Sannan Ali 2020년 8월 28일
편집: Adam Danz 2020년 8월 28일
How can I change the complete scale of Y axis the figure shown below (Range angle plot) as the values being shown are completely wrong. I have plotted the same data for Range Doppler response (the picture is attached) but there the axis values are up to the mark. I want my Range angle plot to show the same value of ranges.
Thanks in advance.
  댓글 수: 1
Adam Danz
Adam Danz 2020년 8월 28일
편집: Adam Danz 2020년 8월 28일
It will be hard to see what went wrong if we don't see what you did to create the plot. My guess is that you're not specifying the y-values and you're only providing the "Z" values in the form of a matrix.

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

답변 (1개)

Star Strider
Star Strider 2020년 8월 28일
If you simply want to change the Y-axis tick labels:
Ax = gca;
yt = Ax.YTick;
Ax.YTickLabel = fix(linspace(-25, 25, numel(yt)));
If you want to actually re-scale the y-axis, that might be more difficult.

카테고리

Help CenterFile Exchange에서 Polar Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by