-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Is there a way to achieve consistent column spacing when hiding tick labels? For example, in the attached plot, figures 1 and 2 are further apart than 2 and 3. I have been adjusting manually with colgap but this is tedious.
using CairoMakie
using GeoMakie
using NaturalEarth
fig = Figure(size=(1500,550))
for i in 1:3
ax = GeoAxis(fig[1,i], dest="+proj=longlat +datum=WGS84", xgridwidth=0.05, ygridwidth=0.05, width=Relative(1.0))
lines!(ax, GeoMakie.coastlines(); color=:black, linewidth=0.5, xautolimits=false, yautolimits=false)
(x1, x2, y1, y2) = (-19, 55, -38, 42)
xlims!(ax, (x1, x2))
ylims!(ax, (y1, y2))
lines!(ax, [x1, x1, x2, x2, x1], [y1, y2, y2, y1, y1], color=:black, linewidth=2.0)
i > 1 && hideydecorations!(ax, grid=false)
end
display(fig)

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels