Dear Henrik,
yes, you are right! I overlooked this from Sander's reply to my post, but I am still confused. In the original post it reads:
pdftanemura = 15.344341419321385` E^(-3.04011` y^1.078`) y^2.315`;
so no proper function is defined. The expression is just substituted in the plot. The definition of the function was only introduced when Sander replied to my first post.
I am not really sure what is going on here. I think that the explicit dependence on x in the later definition does/should not matter. A bit like here:
g[x_] := Sin[y];
g[5]
(*Sin[y]*)
If I try to plot
Plot[g[x], {x, -6, 6}]
this gives
whereas
Plot[g[x], {y, 0, 6}]
gives
If I define
pdftanemura[x_] := 15.344341419321385 E^(-3.04011 y^1.078) y^2.315;
I get:
pdftanemura
(*15.3443 E^(-3.04011 y^1.078) y^2.315*)
So basically if I define pdftanemura as above and plot
GraphicsRow[{Plot[pdftanemura[x], {y, 0, 6}], Plot[pdftanemura[y], {y, 0, 6}]}]
I get
Which is, sort of, what I expect. In this case it should not matter whether I define the dependance on x or y, or should it?
Cheers,
Marco