Plotting y = f(x)