Having seen the following plot on a page, I am trying to recreate it with Mathematica. enter image description here

I have defined the function and used Plot3D to create the plot as the following commands shows.

z = Exp[-r^2]*(Sin[6 Pi r] - r Cos[3 θ])
Plot3D[z, {r, -8, 8}, {θ, -8, 8}]

The result is as follows:

enter image description here

Why do I have two different plots?


1 Answer 1

 E^-r^2 (Sin[6 \[Pi] r] - r Cos[3 \[Theta]]),
     {r, 0, 1}, 
     {\[Theta], 0, 2 \[Pi]}]

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.