Tena koe Lara

If I understand your question correctly, I use the colorspace package for that 
sort of thing, but you could also use the built-in colour palettes such as 
rainbow and topo.colors

HTH ....

Peter Alspach

> -----Original Message-----
> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
> project.org] On Behalf Of lara
> Sent: Friday, 2 December 2011 1:48 p.m.
> To: r-help@r-project.org
> Subject: [R] Plot coordinates with gradien colour according to a
> different column
> 
> Hi everyone,
> 
> I'm having problems with plotting my data. I have a set of positions
> with
> different attributes and I'm wondering if I can plot it, as x,y plot,
> with
> gradient colours according to a 3rd factor. Is it possible to show
> gradient
> segments between postions and not one-coloured segment between each
> one?
> I've been trying plotrix  color.scale.lines with no luck.
> I'm very thankful for any help!!
> 
> Cheers,
> 
> Lara
> 
> --
> View this message in context: http://r.789695.n4.nabble.com/Plot-
> coordinates-with-gradien-colour-according-to-a-different-column-
> tp4143712p4143712.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.

The contents of this e-mail are confidential and may be subject to legal 
privilege.
 If you are not the intended recipient you must not use, disseminate, 
distribute or
 reproduce all or any part of this e-mail or attachments.  If you have received 
this
 e-mail in error, please notify the sender and delete all material pertaining 
to this
 e-mail.  Any opinion or views expressed in this e-mail are those of the 
individual
 sender and may not represent those of The New Zealand Institute for Plant and
 Food Research Limited.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to