Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Colors in ScatterPlot3D?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg50978] Colors in ScatterPlot3D?
  • From: Karl_boehme_9 at msn.com (Klaus G)
  • Date: Thu, 30 Sep 2004 04:52:34 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

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