Re: ListPointPlot3D colors from data
- To: mathgroup at smc.vnet.net
- Subject: [mg99348] Re: ListPointPlot3D colors from data
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Sun, 3 May 2009 05:23:14 -0400 (EDT)
- References: <gth5jp$f2c$1@smc.vnet.net>
Hi,
data = Table[RandomReal[{0, 10}, 4], {20000}];
Graphics3D[{Hue[Last[#]/10], Point[Take[#, 3]]} & /@ data]
?
Regards
Jens
karl.lefty at gmail.com wrote:
> Hello all,
>
> I have an array of data, with four columns. Each row consists of an X,
> Y, Z position, and a value for the data sample from that position F
> (X,Y,Z) [where F is not a analytical function, but an experimental
> sample value from that position]. What I would like is to plot the
> points using something like ListPointPlot3D, with the color of the
> point being determined by the value from the fourth column F(X, Y, Z).
> How can I do this with Mathematica 7?
>