Re: How to plot individual 2D data points, where each must have its own color.
- To: mathgroup at smc.vnet.net
- Subject: [mg58990] Re: [mg58957] How to plot individual 2D data points, where each must have its own color.
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Tue, 26 Jul 2005 04:01:57 -0400 (EDT)
- Reply-to: hanlonr at cox.net
- Sender: owner-wri-mathgroup at wolfram.com
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.
>
>