If it is horizontal, then it modifying the x by a constant scale before inputting it into the function.

So for instance, if the original function were , then the new function is something like , which is a scaling by a factor of 2.

Something similar happens if you do it to a trigonometric function - just graph versus .