Break axis in Makie

Elmo
Fri, 11 Jun 2021 10:56:23 +0000
Visualization

Hi, I am pretty new to Makie, but I am loving the package so far! Is it possible to have a broken y-axis in Makie? E.g. I want to plot:

xs1 = randn(10)
ys1 = randn(10)

xs2 = randn(10) .+ 3
ys2 = randn(10) .+ 10

fig = Figure()
ax = fig[1,1] = Axis(fig)
scatter!(ax, xs1, ys1)
scatter!(ax, xs2, ys2)
fig

without resorting to a log scale and have the clusters on the same height. Any help would be much appreciated!

15 posts - 8 participants