Hello,
I have a polar plot, and I want to zoom into one section of it, How can I do that.
using Plots
x = [0,pi/6,pi/4,pi/3,pi/2] # theta
y = [0,0.1, 0.2, 0.3, 0.4] # r
p = plot(x,y,axis=false,legend=false,proj =:polar)
let say I want to zoom in a section with r limit [0.1,0.3] and theta limit =[pi/6, pi/2].
How can I do that?
I saw the lens function, but it seems that it only works with cartesian plots.
Use xlim and ylim to specify boundaries for the plot area. You’ll get a rectangular area and you’ll need to do your own polar to rectangular conversion first.