How to plot heatmap and contour plots in polar coordinates with Plots.jl?

This works with pyplot() but almost no other backend:

pyplot()
r = linspace(0,10,11)
θ = linspace(0,360,361)
f(r,θ) = r^2
hm = heatmap(f.(r,θ'), aspect_ratio=:equal, proj=:polar, legend=false)

image

7 Likes