Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

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.

  • 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.
-------------------------------------------------------------


  • Prev by Date: Re: evaluate assuming odd integers?
  • Next by Date: Re: problem with Delete[]
  • Previous by thread: 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.