Yes, you can do that manually by adding a random number (using runif), or
use ?jitter that does that for you.

Cheers,
Roman




On Wed, Dec 28, 2011 at 1:46 PM, Ana <rrasterr@gmail.com> wrote:

> Thanks Roman!
>
>
> Is there a way to move all points of a point graphics
> up/down/left/right in reference to the previous position, by a certain
> amount of values? This is to avoid overlaps with other point data.
>
>
> On Wed, Dec 28, 2011 at 1:35 PM, Roman Luštrik <roman.lustrik@gmail.com>
> wrote:
> > You can use ?rgb
> >
> > plot(0, 0, xlim = c(0, 1), ylim = c(0, 1), type = "n")
> > sapply(seq(1, 0, -0.1), function(x)
> > points(x = runif(100), y = rep(x, 100),
> > col = rgb(red = 0, green = 0, blue = 1, alpha = x), pch = 16))
> >
> >
> > HTH,
> > Roman
> >
> >
> >
> >
> > On Wed, Dec 28, 2011 at 1:14 PM, Ana <rrasterr@gmail.com> 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",pch=21,col="blue")
> >> points(reference.points,type = "p",pch=21,col="red")
> >>
> >> how can I add transparency to one of the point graphics, for example
> >> points(observation1999,type = "p",pch=21,col="blue")  ?
> >>
> >> _______________________________________________
> >> R-sig-Geo mailing list
> >> R-sig-Geo@r-project.org
> >> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
> >
> >
> >
> >
> > --
> > In God we trust, all others bring data.
>



-- 
In God we trust, all others bring data.

	[[alternative HTML version deleted]]

