Mathematica 9 is now available
Services & Resources / Wolfram Forums
MathGroup Archive
*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: color and pointsize in listplot

  • To: mathgroup at
  • Subject: [mg48371] RE: [mg48335] color and pointsize in listplot
  • From: "David Park" <djmp at>
  • Date: Wed, 26 May 2004 02:41:19 -0400 (EDT)
  • Sender: owner-wri-mathgroup at


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

From: Maurits Haverkort [mailto:Haverkort at]
To: mathgroup at

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,

  • Prev by Date: Re: Min[], Max[]
  • Next by Date: Re: Export Plane Curves
  • Previous by thread: Re: color and pointsize in listplot
  • Next by thread: Re: color and pointsize in listplot