Using Inf alongside isosurface

I have a dataset that contains Inf's, in my case, meaning an acid never melts away that part of the surface. Now, this works in 2D, with contour, but it doesn't produce anything in 3D with isosurface, it just gives me a blank screen, is it possible to change this?
Thank you.

1 个评论

Also, I know I 'could' just change all the Infs to zeros but I was wondering if there was a better solution.

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2011-3-12

0 个投票

Changing the inf to nan might work.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by