Plot response graph properties

17 views (last 30 days)
Muhammad Sannan Ali
Muhammad Sannan Ali on 28 Aug 2020
Edited: Adam Danz on 28 Aug 2020
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 Comment
Adam Danz
Adam Danz on 28 Aug 2020
Edited: Adam Danz on 28 Aug 2020
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.

Sign in to comment.

Answers (1)

Star Strider
Star Strider on 28 Aug 2020
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.

Categories

Find more on Polar Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!