MWE
# using GLMakie
# GLMakie.activate!()
using CairoMakie
CairoMakie.activate!()
Nx, Ny = 512, 8001
x, y = collect(LinRange(-20,40,Nx)), collect(LinRange(-20,20,Ny))
xx, yy = repeat(x, 1, Ny), repeat(y', Nx, 1)
zz = @. sin(xx) * cos(yy)
f = Figure()
ax = Axis3(f[1,1])
surface!(ax, xx, yy, zz)
save("mwe.png", f)
-
GLMakie:

-
CairoMakie.jl:

CairoMakie seems to do something, because it takes a while for the script to complete.