RE: color and pointsize in listplot
- To: mathgroup at smc.vnet.net
- Subject: [mg48371] RE: [mg48335] color and pointsize in listplot
- From: "David Park" <djmp at earthlink.net>
- Date: Wed, 26 May 2004 02:41:19 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Maurits, Assuming that you are putting in PointSize as a number, but RBGColor as an actual RBGColor directive... testlist = Table[{Random[Real, {-10, 10}], Random[Real, {-10, 10}], RGBColor[Random[Real, {0, 1}], Random[Real, {0, 1}], Random[Real, {0, 1}]], Random[Real, {0.01, 0.2}]}, {10}]; Show[Graphics[{#3, PointSize[#4], Point[{#1, #2}]} & @@ # & /@ testlist], AspectRatio -> Automatic, Background -> GrayLevel[0.9]]; David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ From: Maurits Haverkort [mailto:Haverkort at ph2.uni-koeln.de] To: mathgroup at smc.vnet.net Dear all I have a list consisting of {x,y,RGBColor,Pointsize} that I would like to plot. I.e. each point will have a different size and color. How can I do this in Mathemaitca. Best Regards, Maurits