Polar Plot RLim Not Working
Show older comments
I am currently plotting a graph of a certain radiation pattern. I do not want any negative radius values to be plotted. To "recitfy" this situationl, I utilized rlim. However, Negative values are still appearing. Thanks in advance.
This is my code:
theta = linspace(-10*pi,10*pi,10000);
rho = 10.*log10((cos(theta)).^9) + 30;
polarplot(theta, rho);
rlim([0 30]);
This is the graph: I do not wish to see the top and bottom lobes.

Accepted Answer
More Answers (0)
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!
