[R] funtion equivalent of jitter to move figures on device

2013-03-12 Thread Folkes, Michael
hello all, I'm overlaying numerous scatter plots onto a map (done in PBSmodelling). In this case I'm placing each plot by setting par(fig) to the centroid of map polygons. The location/mapping part is not so important. There are cases of small overlaps for some plots (ie figures) so I'm keen to

Re: [R] funtion equivalent of jitter to move figures on device

2013-03-12 Thread Peter Ehlers
On 2013-03-12 08:04, Folkes, Michael wrote: hello all, I'm overlaying numerous scatter plots onto a map (done in PBSmodelling). In this case I'm placing each plot by setting par(fig) to the centroid of map polygons. The location/mapping part is not so important. There are cases of small

Re: [R] funtion equivalent of jitter to move figures on device

2013-03-12 Thread Folkes, Michael
Thanks very much Peter, That may be a good start. Though I am aiming for automation and would prefer to avoid the locator function. I'll take a look... Michael -Original Message- From: Peter Ehlers [mailto:ehl...@ucalgary.ca] Sent: March 12, 2013 12:27 PM To: Folkes, Michael Cc:

Re: [R] funtion equivalent of jitter to move figures on device

2013-03-12 Thread Roy Mendelssohn - NOAA Federal
Hi Michael: I am not totally certain what you are trying to do, but Hadley Wickham and a student have been working on a package that allows a variety of plots to be added to maps. Examples can be found in this paper in Environmetrics : Glyph-maps for visually exploring temporal patterns in

Re: [R] funtion equivalent of jitter to move figures on device

2013-03-12 Thread Folkes, Michael
I'm very grateful! Thanks Roy. -Original Message- From: Roy Mendelssohn - NOAA Federal [mailto:roy.mendelss...@noaa.gov] Sent: March 12, 2013 12:49 PM To: Folkes, Michael Cc: r-help@r-project.org Subject: Re: [R] funtion equivalent of jitter to move figures on device Hi Michael: I

Re: [R] funtion equivalent of jitter to move figures on device

2013-03-12 Thread Greg Snow
In addition to the other suggestions that you have received you may want to look at the spread.labs function in the TeachingDemos package and the spread.labels function in the plotrix package. These only spread in 1 dimension, but may be able to do what you want. The thigmaphobe.labels function

Re: [R] funtion equivalent of jitter to move figures on device

2013-03-12 Thread Folkes, Michael
Thanks very much Greg. 'fail miserably' - sounds like what I was expecting. I appreciate the ideas and hadn't considered any of them. I was looking to draw a line between centroid of one polygon and centroid of the common area with overlapping polygon then move the polygon further along the axis