MathGroup Archive 2001

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

Search the Archive

Re: 4D scatterplot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg30372] Re: [mg30299] 4D scatterplot
  • From: Omega Consulting <omega_consulting at yahoo.com>
  • Date: Sun, 12 Aug 2001 02:30:01 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

At 12:33 AM 8/8/2001, asdf at library1.airnews.net wrote:
>I'd like to be able to do a 4D scatterplot:  x, y, z and color for the 4th
>dimension (imagine a 3D scatterplot but the dots are in different colors to
>represent magnitude or some 4th element).

How about

data = Table[Random[],{20},{4}];

coloredpoint[{x_,y_,z_,c_}] := {Hue[c],Point[{x,y,z}]}

Show[Graphics3D[{PointSize[.03],Map[coloredpoint,data]}]]

>Then, it would be perfect if I
>could click on any of the dots to drill down to the underlying information.
>
>I'd really appreciate any help or thoughts that might steer me toward a tool
>that would be useful for this.
>
>Thanks,
>bj



  • Prev by Date: Re: Point order
  • Next by Date: Re: Expanding Trig Power Identities
  • Previous by thread: 4D scatterplot
  • Next by thread: Penny and coin data points