Problem with the scaling of the plot axes in GLMakie

I am trying to make a plot in GLMakie but when I try, the “y” axis does not scale correctly and then I only get a straight line when it is not what I want, the Plots package does not have this problem but I am learning to use GLMakie and I would like to Know if anyone knows how to solve it.

The data example I am using is the following:

A = [-1.823184134007678e7

This is an example of what I get, (in the graph there are 58 elements of the array but I only pass 20 elements for practicality)

Your values are all very close together, so the Float32 precision that GLMakie converts to for the gpu is not enough. This is a well known problem in Makie currently, the workaround is to rescale your data so it can be represented in Float32. We have ideas for more general solutions for the future but those need more time.

1 Like

Thank you very much, I already imagined something like this.