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.
- Follow-Ups:
- Re: Re: Colors in ScatterPlot3D?
- From: DrBob <drbob@bigfoot.com>
- Re: Re: Colors in ScatterPlot3D?