Range-Doppler magnitude limits

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

Is this some toolbox function generating the plot? If so, all will depend on what MathWorks has left to be modifieable; there should be a returned handle to the plot object that will show you the available properties.
Show us the code that generated the plot; never hurts to post an actual working example that illustrates a problem (including the needed data) so anybody who has requisite toolboxes can actually do something rather than guess...
The only difference in my code:
plotResponse(rngdopresp,xr, 'Unit', 'mag');
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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!