Zoom and polar axes
62 views (last 30 days)
Show older comments
__Hi guys. I have MATLAB 2017a and I've faced the problem, that zoom doesn't work with polar axes. I've met another one question with the same problem in R2016B version of MATLAB.
__1. Is there any way use ZOOM with polar axes?
__2. Does it work well in newer versions of MATLAB?
2 Comments
Accepted Answer
Adam Danz
on 25 Nov 2019
Edited: Adam Danz
on 25 Nov 2019
The Antenna Toolbox offers a polarpattern class that does allow for zooming and other interactions but it doesn't technically use a polaraxes.
4 Comments
Adam Danz
on 27 Nov 2019
I agree that we need to have zoom with polaraxes.
This may or may not help but you could try playing around with rlim() and thetalim() to see if you can zoom into the data. If that works, it would be much simpler to add a couple sliders into your figure so you can interactively zoom into rho and theta areas.
Here's a demo.
% Generate tightly clustered dots
y = rand(1,500)+2;
x = rand(size(y))./4;
[th,rh] = cart2pol(x,y);
pax = polaraxes();
polarplot(th,rh,'.')
% zoom into the theta range
thetalim([80,95])
% Zoom into the rho range
rlim([1.5,3.1])
More Answers (0)
See Also
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!