Hi there. I have the following graph: nabble.com/file/p10928148/map.jpg 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. -- View this message in context: nabble.com/Datapoints-underneath-datapoints-Problem-tf3857288.html#a10928148 Sent from the R help mailing list archive at Nabble.com.
mister_bluesman wrote:> Hi there. > > I have the following graph: > > nabble.com/file/p10928148/map.jpg > > 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
Uwe Ligges wrote:> > 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. >Do you know of any functions/tutorials that will show me how to do this? I dont even know how to rotate the plot! Many thanks! -- View this message in context: nabble.com/Datapoints-underneath-datapoints-Problem-tf3857288.html#a10928629 Sent from the R help mailing list archive at Nabble.com.
> 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 otherYou could use jitter() to add a little noise to the data. Of course that will slightly change the position of each point. If that is not an option you could possibly detect points with almost identical coordintes yourself and then change the color of the respective plotting symbol. cu Philipp -- Dr. Philipp Pagel Tel. +49-8161-71 2131 Dept. of Genome Oriented Bioinformatics Fax. +49-8161-71 2186 Technical University of Munich Science Center Weihenstephan 85350 Freising, Germany and Institute for Bioinformatics / MIPS Tel. +49-89-3187 3675 GSF - National Research Center Fax. +49-89-3187 3585 for Environment and Health Ingolst?dter Landstrasse 1 85764 Neuherberg, Germany mips.gsf.de/staff/pagel
Check out ?sunflowerplot On 6/2/07, mister_bluesman <mister_bluesman at hotmail.com> wrote:> > Hi there. > > I have the following graph: > > nabble.com/file/p10928148/map.jpg > > 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. > -- > View this message in context: nabble.com/Datapoints-underneath-datapoints-Problem-tf3857288.html#a10928148 > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
Apparently Analagous Threads
- graphical representation of a correlation between 3 variables (~30 datapoints)
- How to translate the 2D-density matrix (the output of bkde2D function) into matrix of datapoints' amounts?
- geeglm crashes if there are no datapoints in predictor's first level (PR#13266)
- Creating One Single Object Linking Multiple Datapoints
- heavy graphs