Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: ListPointPlot3D colors from data

  • To: mathgroup at smc.vnet.net
  • Subject: [mg99355] Re: [mg99311] ListPointPlot3D colors from data
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sun, 3 May 2009 05:24:32 -0400 (EDT)
  • Reply-to: hanlonr at cox.net

data = RandomReal[{0, 1}, {50, 4}];

Make every point a separate list and use PlotStyle to set the size and color for each point.

ListPointPlot3D[List /@ Most /@ data,
 PlotStyle -> ({
      AbsolutePointSize[Ceiling[3 (# + 1)]],
      Hue[(# + 1)/2]} & /@ Last /@ data)]


Bob Hanlon

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




  • Prev by Date: Re: ListPointPlot3D colors from data
  • Next by Date: Re: PROBLEM WITH HISTOGRAM3D
  • Previous by thread: Re: ListPointPlot3D colors from data
  • Next by thread: Re: ListPointPlot3D colors from data