MathGroup Archive 2007

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

Search the Archive

How to color each point in ListPlot?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80237] How to color each point in ListPlot?
  • From: P_ter <peter_van_summeren at yahoo.co.uk>
  • Date: Wed, 15 Aug 2007 04:22:29 -0400 (EDT)

Hello,
I have two lists: list1 are the data to be plotted, (7,5,9,etc.}. list2 is a list of colors I want to assign to each point. Both lists are equally long.
Now I first construct a list of {{Hue[..],Point[..]}, etc.}, make Graphics of it etc.
My question is: can ListPlot do this at once with ColorFunction? Now I get the impression "only one color for one set of data".
with friendly greetings,
P_ter


  • Prev by Date: dynamic values in docked cells
  • Next by Date: Re: Graphing an inequality
  • Previous by thread: dynamic values in docked cells
  • Next by thread: Re: How to color each point in ListPlot?