Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Listplot with colours

  • To: mathgroup at smc.vnet.net
  • Subject: [mg90819] Listplot with colours
  • From: "King, Peter R" <peter.king at imperial.ac.uk>
  • Date: Fri, 25 Jul 2008 06:15:37 -0400 (EDT)
  • References: <g4klhn$m8u$1@smc.vnet.net> <200807050849.EAA16716@smc.vnet.net>

I cannot find this in the help at all, although I am sure it is 
straightforward.

I have a list of coordinates of points points={{x1,y1},{x2,y2}...}
and two lists of attributes att1={a1,a2,..} and att2={b1,b2,...}

I want to do something like 
ListPlot[points,PlotStyle->{Hue[att1],PointSize[att2]}]
So I get dots at each point in colour att1 and size given by att2. I'm 
sure it's easy but I can't do it. I am using version 5.1

Many thanks,

Peter



  • Prev by Date: Re: Installing Personal Package Documentation not showing up
  • Next by Date: how to simplify an expression
  • Previous by thread: Re: lie symmetry package
  • Next by thread: Re: Listplot with colours