Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: '3d plot of discontinuous function' topicStudent Support Forum > General > Archives > "3d plot of discontinuous function"

Help | Reply To Topic
Author Comment/Response
Igor Buinyi
09/06/06 1:01pm

Hi

I have an array of calculated or experimental data representing a multivalued function
(see for example

ParametricPlot3D[{t/3, u Cos[t], u Sin[t]}, {t, 0, 10}, {u, -1, 1}]

)

Data values are in the range 0..Pi, so at some points the data is discontinuos.

To plot 3D surface I used ListIntepolation&Plot3D or ListPlot3D. As a results the surface connects all the neighbouring points so the boundary values 0 and Pi are connected through the all range. But I'd like such points to be no connected. Is it possible?

Also I want to generate a density plot. Hue color is the the best for this purpose because the opposite values 0 and 1 correspond to the red.
Unfortunately various combinations (ListInterpolation&DensityPlot, ListDensityPlot, ListInterpolation&ContourPlot, ListContourPlot) lead to the same problem. The data being discontinuos is interpolated through the all range of values. As a result colored lines mark the discontinuities in the picture.

Is there a smart method of interpolation to avoid these troubles?

Thank you


URL: ,
Help | Reply To Topic