Hello,
I am aiming to draw a wind rose similar to the below (from PlotlyJS.jl) in Makie.
I can plot a stacked barplot into a PolarAxis:
using GLMakie;
using ColorSchemes;
tbl = (cat = [1, 1, 1, 2, 2, 2, 3, 3, 3],
height = 0.1:0.1:0.9,
grp1 = [1, 2, 2, 1, 1, 2, 1, 1, 2],
grp2 = [1, 1, 2, 1, 2, 1, 1, 2, 1]
);
f = Figure(width=200, height=200);
ax = PolarAxis(f[1, 1],
rticks=1:0.1:1,
);
barplot!(ax,
tbl.cat,
tbl.height,
stack = tbl.grp1,
color = tbl.grp2,
colormap=:lightrainbow,
);
f
This results in the following (in GLMakie):
Is there any way to get the edges to be convex rather than straight? It looks a bit peculiar.
Thanks in advance!