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 Commento

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

Accedi per commentare.

Risposte (1)

Walter Roberson
Walter Roberson il 12 Mar 2011

0 voti

Changing the inf to nan might work.

Richiesto:

il 12 Mar 2011

Community Treasure Hunt

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

Start Hunting!

Translated by