Range-Doppler magnitude limits
Show older comments
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
dpb
on 2 Oct 2021
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...
Maxim Yuhlov
on 2 Oct 2021
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".
Accepted Answer
More Answers (0)
Categories
Find more on Motion Modeling and Coordinate Systems 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!