MathGroup Archive 2004

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

Search the Archive

Colors in ScatterPlot3D?


To give colors to each point individually the following has been
proposed recently:

<< Graphics`Graphics3D`

atable = Table[Random[Integer, {1, 10}], {50}, {3}];
colortable = Table[Random[Real, {0, 1}], {50}]
ScatterPlot3D[atable, PlotStyle -> RGBColor[#, 0, 0]&/@ colortable]

But all colors are the same. It looks like only the first color value
in colortable is used.

Thanks.

Klaus G.


  • Prev by Date: Cauchy Integrals
  • Next by Date: Partial derivation with regards to variables in a list
  • Previous by thread: Cauchy Integrals
  • Next by thread: Partial derivation with regards to variables in a list