MathGroup Archive 2010

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

Search the Archive

ListContourPlot3D - only working with arrays?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg107947] ListContourPlot3D - only working with arrays?
  • From: pernille <pernille.yde at gmail.com>
  • Date: Wed, 3 Mar 2010 05:53:51 -0500 (EST)

Hi

I have data in the form {{x1,y1,z1,f1},{x2,y2,z2,f2},...} and want to make a 3D contourplot.

But why does this not work ?? :

ListContourPlot3D[{{1, 1, 1, 3}, {1, 1, 2, 4}, {1, 1, 3, 5}, {1, 2, 1,
    4}, {1, 2, 2, 5}, {1, 2, 3, 6}, {1, 3, 1, 5}, {1, 3, 2, 6}, {1, 3,
    3, 7}, {2, 1, 1, 4}, {2, 1, 2, 5}, {2, 1, 3, 6}, {2, 2, 1, 5}, {2,
    2, 2, 6}, {2, 2, 3, 7}, {2, 3, 1, 6}, {2, 3, 2, 7}, {2, 3, 3, 
   8}, {3, 1, 1, 5}, {3, 1, 2, 6}, {3, 1, 3, 7}, {3, 2, 1, 6}, {3, 2, 
   2, 7}, {3, 2, 3, 8}, {3, 3, 1, 7}, {3, 3, 2, 8}, {3, 3, 3, 9}}, 
 Contours -> {2, 4, 6, 8}]



when this does ?? :

ListContourPlot3D[
 Table[x + y + z, {x, 1, 3, 1}, {y, 1, 3, 1}, {z, 1, 3, 1}], 
 Contours -> {2, 4, 6, 8}]

It should be the same plot - only in the first case you get to define x,y and z coordinates yourself?

I'm very thankful for any help!


  • Prev by Date: Re: Programmatically saving myself
  • Next by Date: Problem with Simplify and Integrating a gaussian
  • Previous by thread: Re: Programmatically saving myself
  • Next by thread: Re: ListContourPlot3D - only working with arrays?