plot f(x)=f(y