JuliaPlots / Plots.jl

Powerful convenience for Julia visualizations and data analysis
https://docs.juliaplots.org
Other
1.83k stars 354 forks source link

[FR] Polar coordinates: Set 0 degrees to the top of the plot and Switch to clockwise? #3396

Open likanzhan opened 3 years ago

likanzhan commented 3 years ago

When using `plots' to draw a picture using the polar coordinates, is it possible to set 0 degrees to the top of the plot and to switch to clockwise?

gr()
theta = collect(0:2pi/30:2pi)
r = rand(length(theta))
plot(theta, r, projection = :polar)

And this function can be achieved using the PyPlot package.

daschw commented 3 years ago

No, I don'T think that that's currently supported in Plots.

kiranshila commented 3 years ago

This is also possible in pgfplots and plotly. I would really love to see this feature.