I'm trying to plot the following function for two different values of variable m. However, it seems the second figure never appears. Weirdly, I noticed that real numbers are being attributed to variables x and y.
mp[m_, r_, θ_] := {r^2 + Cos[m θ],r^2 - Sin[m θ]};
mc[m_, x_, y_]:=
Evaluate @ TransformedField["Polar" -> "Cartesian", mp[m, r, θ], {r, θ} -> {x, y}];
{VectorDensityPlot[mc[0, x, y], {x, -5, 5}, {y, -5, 5}],
VectorDensityPlot[mc[1, x, y], {x, -5, 5}, {y, -5, 5}]}
\Theta
instead of\[Theta]
, the latter being what it shown in the image of the code -- it works and give a correct plot for both. $\endgroup$