I'm reading the book "A Student's Guide to Waves" by Daniel A. Fleisch and Laura Kinnaman in an attempt to get quickly up to speed in some of the terminology and maths of waves.
At some point it mentions the following equation $$\psi = y = f(x,t)$$ And that the easiest way to think about the shape of the wave is by considering a snapsnot, i.e. $$y=f(x,0)$$ Then it goes on saying "Many waves maintain the same shape over time - the wave moves in the direction of propagation, but all peaks and troughs move in unison, so the shape does not change as the wave moves. For such "non-dispersive" waves, $f(x,0)$ can be written as $f(x)$, since the shape of the wave doesn't depend on when you take the snapshot."
I don't understand why this would be true, because the phase would still be dependent on when the snapshot was taken? And if it were to be considered true, couldn't you in the same way consider a dispersive wave as a function of only location if you are talking about a snapshot only?