Re: colorfunction with scatterplot3d?
- To: mathgroup at smc.vnet.net
- Subject: [mg45326] Re: [mg45299] colorfunction with scatterplot3d?
- From: Yasvir Tesiram <tesiramy at omrf.ouhsc.edu>
- Date: Tue, 30 Dec 2003 04:14:32 -0500 (EST)
- References: <bdjggb$8f3$1@smc.vnet.net> <200307011245.IAA06000@smc.vnet.net> <200312290522.AAA14960@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, ScatterPlot3D[atable, PlotStyle->RGBColor[0,0,#]&/@colortable] Or you can have CMYKColor, or GrayLevel, or Hue. Yas On Mon, 29 Dec 2003, Michael Alfaro wrote: > Hello, > > I would like to color the points in a ScatterPlot3D plot as a function > of values in another table. For example, I would like to plot atable > below, but use the matching values of colortable to color the points > (with the color range scaled to the min and the max of values in > colortable). > > > > atable = Table[Random[Integer, {1,10}], {50}, {3}] > colortable = Table[Random[Real,{0,1}], {50}] > ScatterPlot3D[atable, PlotStyle->? or ColorFunction->?] > > Thanks for any help! > > Michael >
- References:
- colorfunction with scatterplot3d?
- From: Michael Alfaro <malfaro@ucsd.edu>
- colorfunction with scatterplot3d?