Re: Visualization of a list of 3D points coordinates with a perspective

• To: mathgroup at smc.vnet.net
• Subject: [mg89322] Re: [mg89296] Visualization of a list of 3D points coordinates with a perspective
• From: "W_Craig Carter" <ccarter at mit.edu>
• Date: Thu, 5 Jun 2008 00:45:25 -0400 (EDT)
• References: <200806040937.FAA18292@smc.vnet.net>

```Hello Alexi,
You should be able to extend this example to your purposes:
coords = RandomReal[{0, 1}, {20, 3}]
spheres =
Table[{Hue[coords[[i, 3]]], Sphere[i, .1 coords[[i, 2]]]}, {i, 1,
Length[coords]}]
Graphics3D[GraphicsComplex[coords, spheres]]

Kind Regards, Craig

On Wed, Jun 4, 2008 at 5:37 AM, Alexei Boulbitch
<Alexei.Boulbitch at iee.lu> wrote:

> I have a list containing 3D coordinates of a number of points, like this one
>
> Now comes the question. I would like to do it in such a way that the
> size (and may be the color) of each point or sphere would depend upon
> one of the coordinates (say, y). In other words, the size and the of the
> first point specified by lst with y=-2.86064 would be smaller than that
> of the second point that has y=3.80403. The color or darkness may also
> depend upon y. This would give a feeling of a perspective.

```

• Prev by Date: Re: Visualization of a list of 3D points coordinates with a perspective
• Next by Date: Re: Clever Solution, How to quickly incorporate to palette? Re:
• Previous by thread: Visualization of a list of 3D points coordinates with a perspective
• Next by thread: Re: Visualization of a list of 3D points coordinates with a perspective