Polar heatmaps

Source code Author Update time

using Plots
pythonplot()
θ = range(0, 2π; length = 100)
ρ = range(0, 120; length = 50)
z = sin.(ρ ./ 10) .* (cos.(θ))'
heatmap(θ, ρ, z; projection = :polar, color = :cividis, right_margin = 2 * Plots.mm)
2023-01-27T18:05:12.565437 image/svg+xml Matplotlib v3.6.3, https://matplotlib.org/

This page was generated using DemoCards.jl and Literate.jl.