Re: [R] transparency using plot+points with sp classes

2011-12-28 Thread Uwe Ligges
This code is not reproducible, hence hard to know if there is a problem with R, a contributed package, or what you wrote or did. Best, Uwe Ligges On 28.12.2011 18:07, Ana wrote: Hi guys, Thansk for the help with the transparency. I've made some modifications to my code , added rgb in colour t

Re: [R] transparency using plot+points with sp classes

2011-12-28 Thread Jeff Newmiller
Some output devices don't support transparency. Try a different output device. --- Jeff NewmillerThe . . Go Live... DCN:Basics: ##.#. ##.#. Live Go...

Re: [R] transparency using plot+points with sp classes

2011-12-28 Thread Ana
Hi guys, Thansk for the help with the transparency. I've made some modifications to my code , added rgb in colour to play with the transparency and included also a north arrow. I was trying to make the code look better, however i am facing another problem, once I use symbols with a bg colour. Some

Re: [R] transparency using plot+points with sp classes

2011-12-28 Thread Chris Campbell
# use the alpha argument of rgb or hsv to create transparent colours require(sp) xc <- round(runif(20), 2) yc <- round(runif(20), 2) xy <- cbind(xc, yc) xy.sp <- SpatialPoints(xy) col1 <- hsv(h = (1:10)/80, v = 0.9, alpha = 0.3) col2 <- hsv(h = 0.25+(1:10)/50, v = 0.8, alpha = 0.4) plot(xy.sp[1:

Re: [R] transparency using plot+points with sp classes

2011-12-28 Thread David Winsemius
On Dec 28, 2011, at 7:13 AM, Ana wrote: How can I make one point graphics with transparency These are all sp classes: plot(polygons_area,axes=TRUE,asp=1.5,main="Title",xlab="Latitude", ylab="Longitude") points(observations2000,type = "p",pch=21,col="green") points(observation1999,type = "p",p