Hello, i want plot N subplots and off for all subplots ticks on axis. For example i do it in python with matplotlib. How can i do this with CairoMakie?
Thank you for your helps
What do you mean by “for all subplots ticks on axis”? The screenshot is not very clear in terms of what result you want to achieve, since it doesn’t show subplots…
Here are two ways to do it:
using CairoMakie
N = 3
fig = Figure(size=(800, 400))
for i in 1:N
ax, plt = scatter(fig[i, 1], rand(100))
hidedecorations!(ax)
end
rowgap!(fig.layout, 0)
fig
or
using CairoMakie
N = 3
fig = Figure(size=(800, 400))
for i in 1:N
ax = Axis(fig[i, 1], xticksvisible=false, yticksvisible=false,
xticklabelsvisible=false, yticklabelsvisible=false)
scatter!(ax, rand(100))
end
rowgap!(fig.layout, 0)
fig
1 Like
Thank you!
1 Like