I have a function $f(r,\psi)$ and I would like to plot it on a circle such that the the radial direction indicates the change of the function as a function of $r$; the angular direction the change of the function as a function of $\psi$ and finally the height the actual value of the function.

Which plotting routine should I use for this?

  • 2
    $\begingroup$ Probably ParametricPlot3D can you supply any function? Or more likely Plot3D, I'm not sure I got 'on a cricle'. Anyway you can make use of CoordinateTransform. $\endgroup$
    – Kuba
    Commented Jun 21, 2017 at 8:43

1 Answer 1


Here's a quick mockup of Kuba's suggestion using a function I made up:

f[r_, θ_] := Sin[3*θ]^3/(r + 5);

 {x, y, f[Sequence @@ ToPolarCoordinates[{x, y}]]}
 , {x, -1, 1}, {y, -1, 1}
 , PlotRange -> All
 , MeshFunctions -> {Abs[#1 + I #2] &, Arg[#1 + I #2] &}(*This produces the polar mesh.*)
 , RegionFunction -> ((#1^2 + #2^2 < 1) &) (*You can eliminate this if you want the region to be rectangular.*)

This will produce the following plot:

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.