Suppose I have defined f[z_]=z^2-4. Then I want to create a parametric plot for the function f (which I am able to do), that has the caption "f(z) = z²-4", i.e., I want to join the string "f(z) = " with the parsed output how the function f was defined before. How can I do that?
f[z_]=z^2-4
Hi Jakob,
Here is one way
ClearAll@f f[z_] := z^2 - 4; Plot[f[x], {x, 0, 4}, PlotLabel -> Row[{HoldForm@TraditionalForm@f[x], " = ", TraditionalForm@f[x]}]]