MathGroup Archive 2004

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

Search the Archive

Re: Colors in ScatterPlot3D?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg51202] Re: Colors in ScatterPlot3D?
  • From: Karl_boehme_9 at msn.com (Klaus G)
  • Date: Fri, 8 Oct 2004 02:54:51 -0400 (EDT)
  • References: <200409300852.EAA26534@smc.vnet.net> <cjj7mg$bq1$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

DrBob <drbob at bigfoot.com> wrote in message news:<cjj7mg$bq1$1 at smc.vnet.net>...
> The option should be:
> 
> PlotStyle -> (RGBColor[#, 0, 0] & /@ colortable)
> 
> But that still gives the first color for all the points.
> 
> This works, however:
> 
> atable = Table[Random[Integer, {1, 10}], {50}, {3}];
> colortable = Table[Random[Real, {0, 1}], {50}];
> red = RGBColor[#, 0, 0] &
> Show[Graphics3D at {PointSize[.02], Transpose@{red /@
>             colortable, Point /@ atable}}]
> 
> Bobby
> 

This results in the following error message along with a System crash:

"Graphics3D::gprim: red[0.868505] was encountered where a Graphics3D
primitive or directive was expected...."

Klaus G.


  • Prev by Date: Need Help: 1st order nonlinear differential equation
  • Next by Date: Re: Sorting the Elements of a Non Rectangular List
  • Previous by thread: Re: Colors in ScatterPlot3D?
  • Next by thread: Re: Re: Colors in ScatterPlot3D?