MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: ListContourPlot3D, no output

  • To: mathgroup at
  • Subject: [mg91950] Re: ListContourPlot3D, no output
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at>
  • Date: Mon, 15 Sep 2008 03:38:40 -0400 (EDT)
  • Organization: The Open University, Milton Keynes, UK
  • References: <gag2rv$3ft$>

Adrian Lupascu wrote:

> Thank you all for your answer.
> Indeed,I should explain better what is happening. The table I have is a relative large data collection and I am not sure about how to post this here.
> Concerning your examples of code, I would guess all of it should work, since I could run all the examples that are given on the help page of ListContoutPlot3D.
> In the end, I tried this: I took my table of the form Basbsselect={{x,y,z,f}, ...} (again, a regular array with equally spaced x, y, and z values, and which contains nx x ny x nz values) and made an array using:
> Babsarray = 
>  Array[Babsselect[[1 + (#1 - 1)*naz*nay + (#2 - 1)*naz + ( #3 - 1), 
>     4]] &, {nax, nay, naz}];
> Then I can plot this using ListContourPlot3D. So this sort of solves my problem. 
> But I would still be interested to post the original code, it is unfortunately a rather big table and I do not know if that is possible.

You may already have done so, but, just in case, there are several easy 
things you could do to be certain that the list of points, say "data", 
is in the right format and holds numeric values only.

You must have a list of quadruples, so


must return something of the form {"number of lines", 4} (see below).

Also, you could use *MatrixQ* to check that all entries are of the same 
format, say machine-size numbers.

Finally, you could test just a small portion of the dataset and post it 
on the list if the result is still the same (i.e. no output).

In[1]:= data = RandomReal[1, {1000, 4}];
MatrixQ[data, MachineNumberQ]
data[[1 ;; 3, All]]

Out[2]= {1000, 4}

Out[3]= True

Out[4]= {{0.341631, 0.957932, 0.871985, 0.325795}, {0.875817,
   0.267281, 0.557361, 0.55858}, {0.209774, 0.85224, 0.330304,

-- Jean-Marc

  • Prev by Date: Re: Functional programming?
  • Next by Date: Re: asumming and Exp orthogonality condition
  • Previous by thread: Re: ListContourPlot3D, no output
  • Next by thread: Re: ListContourPlot3D, no output