[R] Absolutely No idea how to plot my Spatial Data

Peter Alspach Peter.Alspach at plantandfood.co.nz
Thu Mar 25 23:54:10 CET 2010


Tena korua

Also, bear in mind that colours can be specified as grey0 - grey100;
i.e., paste('grey', round(100*z/max(z), 0), sep='').  Also, the
colorspace package is worth considering if you are not restricted to
black and white.

HTH ....


Peter Alspach

> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Steve Lianoglou
> Sent: Friday, 26 March 2010 11:45 a.m.
> To: Babaorumi
> Cc: r-help at r-project.org
> Subject: Re: [R] Absolutely No idea how to plot my Spatial Data
> 
> Hi,
> 
> On Thu, Mar 25, 2010 at 5:32 PM, Babaorumi
<gildas.mazo.u900 at gmail.com>
> wrote:
> >
> > Hi,
> >
> > I have a data set of points which are represented by 3 variables
> x,y,z where
> > x is the position of the point on the x-absciss and y on the y-
> absciss. Each
> > of my points has a value z, which I want to be displayed as follows:
> the
> > more z is high, the more the color on the map is dark.
> 
> How about just tweaking the alpha/transparency for each point as a
> function of its value.
> 
> See this thread for inspiration:
> http://thread.gmane.org/gmane.comp.lang.r.general/158649
> 
> HTH,
> -steve
> 
> --
> Steve Lianoglou
> Graduate Student: Computational Systems Biology
>  | Memorial Sloan-Kettering Cancer Center
>  | Weill Medical College of Cornell University
> Contact Info: http://cbio.mskcc.org/~lianos/contact
> 
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list