Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I expect to have a chimney-look plot out of the function z = 1/(x^2 + y^2), but what I got is a broken one. Is there a way to get an intact plot from ContourPlot3D without any fragment loss?

ContourPlot3D[
 1/(x^2 + y^2) - z == 0, {x, -1, 1}, {y, -1, 1}, {z, -150, 150}]

enter image description here

share|improve this question

1 Answer 1

up vote 6 down vote accepted

Just add more PlotPoints:

ContourPlot3D[1/(x^2 + y^2) - z == 0, {x, -1, 1}, {y, -1, 1}, {z, -150, 150}, 
 PlotPoints -> 20]

Mathematica graphics

share|improve this answer
    
Thanks a lot. It works. –  Putterboy Aug 4 at 13:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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