# How can I plot a surface in cylindrical coordinates? [closed]

The surface I want to plot is $$z^2 + r^2 = 25\, \theta$$.

Please tell me how to do it in Mathematica.

• ContourPlot3D? – Henrik Schumacher Nov 19 '18 at 17:05
• @Henrik Schumacher How would you write the function? – Brandon Nov 19 '18 at 18:17
• That depends. What is $z$, $r$, $\theta$? I guess you try to express an equation in cylindrical coordinates... but who knows? – Henrik Schumacher Nov 19 '18 at 18:20
• See, for instance, the first example in TransformedField. You can then apply ContourPlot3D[Evaluate@TransformedField[..],...] – Michael E2 Nov 22 '18 at 19:50

cylinderPlot3D[f_, {rMin_, rMax_}, {\[Theta]Min_, \[Theta]Max_},opts___] :=ParametricPlot3D[{r Cos[\[Theta]], r Sin[\[Theta]],f[r, \[Theta]]}, {r, rMin, rMax}, {\[Theta], \[Theta]Min, \[Theta]Max}, opts]