Plot response graph properties

16 次查看(过去 30 天)
Muhammad Sannan Ali
编辑: 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