Skip to content Skip to sidebar Skip to footer

Discontinuity On A 3d Surface

I am plotting data of a 3D distribution both with the scatter and the surface plot. As it is possible to see from the following snippets, I am experiencing a discontinuity using th

Solution 1:

If you plot a surface from x,y,z you have to tell the plotting software which points form the elementary parts (like a triangle or a quadrilateral) that make up your large surface.

Usually there is something smart im place to guess the elements from a point list or the like . Sometimes you have to pass the shape of the surface array.

But the point is that the algorithm does not know how to handle the last points in the list. It does not know that they are connected to e.g. the first points. It will assume that they are not connected.

There might be a option in your plotting function for this, but usually you just append copies of the first points at the list to the end.

(The documentation to the function shows a keyword connectgaps, but that might not solve this.)

Post a Comment for "Discontinuity On A 3d Surface"