This is kinda random, but I’m just curious as to why when you keep on zooming in using the + button, it doesn’t always zoom in to (0,0). It also is not a fixed number- it seems to change based on seemingly random previous inputs. Even something like zooming out using the - button before you zoom in changes the number. Maybe this is just my computer being weird, but I just find it interesting. Does anyone know?
Hit the home key (below the wrench, +, & -) first and then it should zoom in on (0,0).
yes that works to get it exact
I’ve tried that, but if I zoom in to extremely small numbers the camera shifts to the right. I think it is when there is not a whole number of pixels on screen (according to demos).
no thats just you, i pressed + to the maximum and it did not go to either side
There’s definitely reason not to exclusively zoom in on the origin, otherwise you wouldn’t be able to zoom in on different features of a graph. That said, it zooms to whatever the current center of the graph is (i.e. wherever you’ve dragged the bounds to). As mentioned, you can use the home button to center on the origin, as long as you haven’t set the graph bounds in the viewport to something that wouldn’t center on the origin.
I suspect this is due to floating-point imprecision. I’m not 100% confident, but I have seen similar things in other programs. As you move things around, the smallest part of the number (the part that gets rounded) is pseudo-randomly shifted, causing zooming to not be exactly at (0, 0), I think.
Here is what is happening:

I do press the home button before I zoom in, so it may be something with an imprecision, as @Cubic_Sune says.
(Here is a link, I don’t really know how to upload videos properly without a link so sorry)
I think that when there is not a whole number of pixels, the “center” of the grid becomes a very long/complicated fraction, which is hard to represent and it causes that imprecision. When there are a whole number of pixels, the fraction is much simpler and it works just fine and it zooms in on (0,0) exactly.
check if the side bar where you put in expressions and stuff is the same size