I have ugly data with an ugly code, but I just used scatter in both places.
Plots gives this:
And, as you can see, the oscillations are in the double order.
GLMakie gives this:
If you zoom manually all the data behaves in the same way, however I can’t manually set it each time. Is there a way to say to GLMakie to not give up in setting axis limits?
P.S: I included a simple code:
using GLMakie
x = [1, 2]
y = Float64[1.00000001, 1.00000002]
f = Figure()
ax = Axis(f[1, 1])
scatter!(x, y)
display(f)
My suggestion would be to make some data transformation before plotting. For example, subtract the mean value and then divide by the new mean value, to get a proper scaling for the comparison.
While I get that it’s annoying not to have the full Float64 range available right now for plotting in Makie, I also think that often plots that go to the tiny or huge float values are pretty hard to read. So for visualizations that are not one-offs where you quickly want to see some data, the scaling step is usually bearable. There is some work ongoing in Makie to improve the situation, but I don’t know when it will come to fruition.