Re: [R] Datapoints underneath datapoints Problem

From: Uwe Ligges <>
Date: Sat, 02 Jun 2007 17:29:26 +0200

mister_bluesman wrote:
> Hi there.
> I have the following graph:
> However, some datapoints occur at the same place as other datapoints and are
> so layered on top of each other. I would like to know if there is any
> possible way in which I could view those datapoints that are layered on top
> of each other ...maybe by rotating using latitude to show the datapoints
> underneath (but then is that possible?)??? - just an idea.
> Many thanks.
> Sam.

You can use common techniques such as jitter() or transparency (alpha shading), depending on the amount of datapoints that are layered on top of each other.

Of course, you can also rotate the data, but then you will have to decide which way makes sense - and you have to add some randomness as well, or two points will be rotated to the same new coordinates unless there is another variable that will cause a difference.

Uwe Ligges mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Sat 02 Jun 2007 - 15:53:08 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 02 Jun 2007 - 16:31:41 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.