Can Grapher evaluate a function?
Well, the problem is that Grapher assuming that the x in f(x)=x^2 means the x coordinate.

To fix this problem, you should change the x to some other variable (say z).

I know, Grapher is weird sometimes.