Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

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

  • To: mathgroup at smc.vnet.net
  • Subject: [mg89307] Re: Visualization of a list of 3D points coordinates with a perspective
  • From: dh <dh at metrohm.ch>
  • Date: Thu, 5 Jun 2008 00:42:37 -0400 (EDT)
  • References: <g25nta$hu5$1@smc.vnet.net>


Hi Alexei,

simply create a sphere with a suitable size at your data points.E.g.:

lst={{3.30414,-2.86064,-2.54648},{4.06572,3.80403,1.68897},{-1.72822,-2.03097,-4.1024}};

Show[Graphics3D[Sphere[#,1/#[[2]]]&/@lst],Axes->True]

hope this helps, Daniel



Alexei Boulbitch wrote:

> Dear MathGroup members,

> 

> I have a list containing 3D coordinates of a number of points, like this one

> lst={{3.30414, -2.86064, -2.54648}, {4.06572, 3.80403,

>    1.68897}, {-1.72822, -2.03097, -4.1024}, ...}

> 

> I would like to visualize them by plotting them. To plot them as a set 

> of points may be trivially done by say, ListPointPlot3D. Alternatively, 

> it may be visualized as a set of spheres with unit radius and centered 

> in the points specified by the list, e.g. in the point {3.30414, 

> -2.86064, -2.54648}, in {4.06572, 3.80403, 1.68897} etc.

> 

> 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.

> 

> Do you have an idea of how to do this?

> 

> Best, Alexei

> 





-- 



Daniel Huber

Metrohm Ltd.

Oberdorfstr. 68

CH-9100 Herisau

Tel. +41 71 353 8585, Fax +41 71 353 8907

E-Mail:<mailto:dh at metrohm.com>

Internet:<http://www.metrohm.com>




  • Prev by Date: Re: Re: Log(ln) Function + 2 Parameters + Greater
  • Next by Date: Re: Visualization of a list of 3D points coordinates with
  • Previous by thread: Re: 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