0
$\begingroup$

I have list of data points having elements {x, y, z, F(x, y, z)}, which I want to plot using ListDensityPlot3D. (x, y, z) are the points on surface of sphere in cartesian system and F(x, y, z) is an integer ranging from 0 - 12. Seems easy, but I am repeatedly getting the following error message.

VisualizationVectorFieldsListScalarProcessData3D::vfldata

Clicking the error message does not take to any explanation in Mathematica.

Here are few of the data points.

X={{0., 0., 1., 3}, {0.0461835, 0., 0.998933, 1}, {0.0922684, 0., 
  0.995734, 1}, {0.138157, 0., 0.99041, 1}, {0.18375, 0., 0.982973, 
  1}, {0.22895, 0., 0.973438, 6}, {0.273663, 0., 0.961826, 
  6}, {0.317791, 0., 0.948161, 6}, {0.361242, 0., 0.932472, 
  6}, {0.403921, 0., 0.914794, 6}, {0.445738, 0., 0.895163, 
  6}, {0.486605, 0., 0.873622, 6}};

Will appreciate any help!

$\endgroup$
  • $\begingroup$ Please share the code that produces the error message. $\endgroup$ – C. E. Aug 1 at 9:13
  • $\begingroup$ ListDensityPlot3D[X] $\endgroup$ – user49535 Aug 1 at 9:22
  • 1
    $\begingroup$ This appears to be because your second co-ordinate in all cases is 0. $\endgroup$ – Carl Lange Aug 1 at 9:26
  • $\begingroup$ But it should plot it though ! strange. $\endgroup$ – user49535 Aug 1 at 9:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.