Re: How to plot individual 2D data points, where each must have its own color.
- To: mathgroup at smc.vnet.net
- Subject: [mg58980] Re: How to plot individual 2D data points, where each must have its own color.
- From: Peter Pein <petsie at dordos.net>
- Date: Tue, 26 Jul 2005 04:01:45 -0400 (EDT)
- References: <d6bi9d$moh$1@smc.vnet.net> <200505190708.DAA13052@smc.vnet.net> <dc1sso$4um$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Chrisantha schrieb:
> 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.
>
example data:
A = Table[{Random[], Random[], Hue[Random[]]}, {100}];
Show[Graphics[A /. {x_?NumericQ, y_, c_} :> Sequence[c, Disk[{x, y},
0.005]]], Axes -> True]
--
Peter Pein
Berlin