For an assignment I need the contour of this function. It is a function within a function
Ok, I got a contourplot now. Thank you for that! But why did you use Exp[-x^2] for f[x]? Where do you get it from? You say that f is a function of one variable but it consists of x and y?
In[24]:= Clear[f, g] f[x_] := Exp[-x^2] g[x_, y_] := f[3 x - y] ContourPlot[g[a, b], {a, -1, 1}, {b, -1/2, 1/2}]
does not work? Because f is a function of one variable, the contour plot is quasi-1D.