Re: How to plot individual 2D data points, where each must have its own color.
- To: mathgroup at smc.vnet.net
- Subject: [mg58968] Re: [mg58957] How to plot individual 2D data points, where each must have its own color.
- From: Zhengji Li <zhengji.li at gmail.com>
- Date: Tue, 26 Jul 2005 04:01:34 -0400 (EDT)
- References: <d6bi9d$moh$1@smc.vnet.net> <200505190708.DAA13052@smc.vnet.net> <200507250512.BAA04821@smc.vnet.net>
- Reply-to: Zhengji Li <zhengji.li at gmail.com>
- Sender: owner-wri-mathgroup at wolfram.com
I hope this will do: Graphics[{Hue[#[[3]]], Point[#[[1]], #[[2]]]}&/@A] // Show You can see "Graphics Primitives" in the help for other info. On 7/25/05, Chrisantha <ctf20 at sussex.ac.uk> wrote: > 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. > > -- Li Zhengji ------------------------------------------------------------- If all you have is a hammer, everything is a nail. -------------------------------------------------------------
- References:
- How to plot individual 2D data points, where each must have its own color.
- From: Chrisantha <ctf20@sussex.ac.uk>
- How to plot individual 2D data points, where each must have its own color.