I'm trying to make a Manipulate command to plot the contour lines of a function of two variables $f(x,y)$. I think I should use the "InputField" option somehow, and I thought of something like this:
Manipulate[
ContourPlot[f[x, y] == 0, {x, -5, 5}, {y, -5, 5}],
{f, #1-#2 &, InputField[_]}]
However, this gives me a slider for $f$, which I don't want, and also changing the function doesn't seem to work.
My question is, how do you work with the Manipulate command when one of the arguments is a function, and more specifically, how do you fix my line of code.
Thanks!
P.S.
I also don't like feeding the function with the # notation, I'd prefer to feed in an expression involving x and y.