MathGroup Archive 2005

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

Search the Archive

Re: How to plot individual 2D data points, where each must have its own color.


n=20;
A=Partition[Table[Random[],{3n}],3];

Show[Graphics[
      {AbsolutePointSize[4],Hue[Last[#]],
            Point[Take[#,2]]}&/@A],
    Frame->True,
    PlotRange->{{0,1},{0,1}}];


Bob Hanlon

> 
> From: Chrisantha <ctf20 at sussex.ac.uk>
To: mathgroup at smc.vnet.net
> Date: 2005/07/25 Mon AM 01:12:12 EDT
> Subject: [mg58990] [mg58957] How to plot individual 2D data points, where each must 
have its own color.
> 
> Dear All,
> 
> I have a list of data
> 
> 
> A = {{x,y,z}, {x2,y2,z2}.....{xn,yn,zn}}
> 
> where x, and y are coordinates of points, and z is the color of that  
> point. How can I plot this on a 2D plot?
> 
> Yours Ever,
> Chrisantha Fernando.
> 
> www.chrisantha.com
> Dept. of Biology.
> University of Sussex. 
> 
> 


  • Prev by Date: Re: evaluate assuming odd integers?
  • Next by Date: Re: Passing options through user-defined functions
  • Previous by thread: Re: How to plot individual 2D data points, where each must have its own color.
  • Next by thread: Re: How to plot individual 2D data points, where each must have its own color.