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

Re: Colors in ScatterPlot3D?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg51024] Re: Colors in ScatterPlot3D?
  • From: "Peter Pein" <petsie at arcor.de>
  • Date: Fri, 1 Oct 2004 04:50:10 -0400 (EDT)
  • References: <cjgih6$q5a$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

"Klaus G" <Karl_boehme_9 at msn.com> schrieb im Newsbeitrag
news:cjgih6$q5a$1 at smc.vnet.net...
> 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.
>

ScatterPlot3D[atable, PlotStyle -> {RGBColor[#, 0, 0]}& /@ colortable]
should give you different shades of red.
-- 
Peter Pein, Berlin
to write to me, start the subject with [



  • Prev by Date: Re: Colors in ScatterPlot3D?
  • Next by Date: Re: Colors in ScatterPlot3D?
  • Previous by thread: Re: Colors in ScatterPlot3D?
  • Next by thread: Re: Re: Colors in ScatterPlot3D?