According to the MMA 9 help:

enter image description here

ListContourPlot3D accepts input as {{x1,y1,z1,f1},..........} and at position {x1,y1,z1} depending on the value of f1 puts a color to indicate the value f1, at least this is my understanding.


 plot = Table[{RandomReal[10], RandomReal[10], RandomReal[10], RandomReal[10]}, {i, 1, 10}]


returns an empty cube. I have a similar problem here.

  • $\begingroup$ Works fine on version 10.0.1 on Win8.1 64bit. What version are you using? $\endgroup$ – Edmund Nov 11 '14 at 17:50
  • $\begingroup$ On OSX 10.0.0 it works, provided there are enough points (like 100)... edit: as belisaurius just answered! $\endgroup$ – Aisamu Nov 11 '14 at 18:00

You need more points to find contours:

plot = Table[{RandomReal[10], RandomReal[10], RandomReal[10], 
              RandomReal[10]}, {i, 1, 100}];


or better:

ListContourPlot3D[RandomReal[10, {100, 4}]]

Mathematica graphics

  • $\begingroup$ Come on, smart AND fast!? So unfair! $\endgroup$ – Aisamu Nov 11 '14 at 18:03
  • $\begingroup$ Is there a reason why it won't plot for few number of points? In this form, I cannot achieve what I want. I want to put at each position a small sphere or ball which its color depends on how much big is f1 value. $\endgroup$ – MOON Nov 11 '14 at 19:59
  • $\begingroup$ @yashar That's not the main use of ListContourPlot3D[]. You may use other Mma functions $\endgroup$ – Dr. belisarius Nov 11 '14 at 20:04

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.