Hi
I am using GLMakie and I would like to add a second yaxis. I have some troubles for defining the limits of both y-axis. The axis seem dependent (when I fix the limit of ax2, it changes the vizualisation of the data on ax1). Could you help ?
f = Figure()
ax1 = Axis(f[1, 1], yticklabelcolor = :black)
ax2 = Axis(f[1, 1], yticklabelcolor = :red, yaxisposition = :right)
hidespines!(ax2)
lines!(space_cracking,profile_6h, color = :black)
scatter!(location_peaks,best_w, color = :red)
ylims!(ax1,0,100)
ylims!(ax2,0,1)
f
Thanks
NaSi