2
$\begingroup$

If I

Plot3D[0,{x,-10,10},{y,-10,10}]

I get the desired z(x,y) = 0 plane which I want to plot, however with a cartesian mesh drawn on it. I would instead like the mesh to be in polar coordinates. How can I do that?

Thanks for suggestions!

$\endgroup$

2 Answers 2

5
$\begingroup$

Try

Plot3D[0, {x, -10, 10}, {y, -10, 10},MeshFunctions -> {(Sqrt[#1^2 + #2^2]&), ArcTan[#1, #2] & } , MaxRecursion -> 4, PlotPoints -> 100]

enter image description here

$\endgroup$
1
  • $\begingroup$ Feeling stupid...very nice +1 :) $\endgroup$
    – ubpdqn
    Commented Jun 6, 2023 at 9:54
2
$\begingroup$

Here some approaches:

  1. Using MeshFunctions

         Plot3D[0, {x, -10, 10}, {y, -10, 10}, 
         MeshFunctions -> {(#1^2 + #2^2 &), #1 - #2 &, #1 + #2 &, 
         #1 &, #2 &},
         Mesh -> {Range[10]^2, {0}, {0}, {0}, {0}}, 
         PerformanceGoal -> "Quality"]
    

[![enter image description here][1]][1]

  1. Using ParametricPLot3D

      ParametricPlot3D[u {Cos[v], Sin[v], 0}, {u, 0, 10}, {v, 0, 2 Pi}]
    

[![enter image description here][2]][2]

See Ulrich Neumann answer for better MeshFunctions [1]: https://i.sstatic.net/47VNv.png [2]: https://i.sstatic.net/uRQ55.png

$\endgroup$

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.