Range-Doppler magnitude limits

12 views (last 30 days)
When I plot range doppler response plot with junit magnitude the environment applies bigger magnitude limis(for example, [ 0.2 1.6]) than i need.
So object on the plot is not not visible as good as could be. Is it possible to apply [0 1] magnitude limit?
  3 Comments
Maxim Yuhlov
Maxim Yuhlov on 2 Oct 2021
The only difference in my code:
plotResponse(rngdopresp,xr, 'Unit', 'mag');
dpb
dpb on 2 Oct 2021
That appears to use the Radar Toolbox version of plotResponse (I ain't got none of the toolboxen that include the function so can't test).
Looking at the doc for it @ https://www.mathworks.com/help/radar/ref/pulsecompressionlibrary.plotresponse.html, it appears to just be an ordinary axes; try
ylim([0 1])
At worst it'll tell you it's locked the figure axes down so tight you can't do anything to it.
As general guidance for such things, when you get a plot like that, try
hAx=gca % return handle to the current axes object on the figure
and if it is an ordinary axes object you'll get something like:
>> hAx=gca
hAx =
Axes with properties:
XLim: [0 1.00]
YLim: [0 1.00]
XScale: 'linear'
YScale: 'linear'
GridLineStyle: '-'
Position: [0.13 0.11 0.78 0.82]
Units: 'normalized'
Show all properties
>>
or some other composite graphics object. What you get then is, as noted above, dependent upon just what TMW has elected to expose to the end user. Unfortunately, they've recently had a penchant for bottling up a lot of these packaged plots such that it is difficult to make changes. One would hope something as fundamental as the axes limits would not be hidden here, but "ya' never know! until ya' tries".

Sign in to comment.

Accepted Answer

Maxim Yuhlov
Maxim Yuhlov on 2 Oct 2021

More Answers (0)

Community Treasure Hunt

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

Start Hunting!