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

Folkes, Michael Michael.Folkes at dfo-mpo.gc.ca
Tue Mar 12 20:52:32 CET 2013


I'm very grateful!
Thanks Roy. 

-----Original Message-----
From: Roy Mendelssohn - NOAA Federal [mailto:roy.mendelssohn at noaa.gov] 
Sent: March 12, 2013 12:49 PM
To: Folkes, Michael
Cc: r-help at r-project.org
Subject: Re: [R] funtion equivalent of jitter to move figures on device

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 climate data 
> and models(pages 382-393) Hadley Wickham, Heike Hofmann, Charlotte 
> Wickham and Dianne Cook Article first published online: 5 JUL 2012 | 
> DOI: 10.1002/env.2152
> 


I believe an earlier version is available at Wickham's web page.  When I
asked him about the packages he used to make the plots, he wrote:


> All code and data for that article is available at 
> https://github.com/ggobi/paper-climate.
> 
> My student Garrett has also been working on a generalisation of the 
> glyph map ideas.  His R package is at 
> https://github.com/garrettgman/ggplyr and I've attached the 
> corresponding paper (in submission to JCGS). I mention it mainly 
> because the code might be in a form that's easier to reuse for your 
> purposes.


HTH,

-Roy

On Mar 12, 2013, at 12:29 PM, "Folkes, Michael"
<Michael.Folkes at dfo-mpo.gc.ca> wrote:

> 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:ehlers at ucalgary.ca]
> Sent: March 12, 2013 12:27 PM
> To: Folkes, Michael
> Cc: r-help at r-project.org
> Subject: Re: [R] funtion equivalent of jitter to move figures on 
> device
> 
> 
> I would investigate the subplot() function in Greg Snow's 
> TeachingDemos package, possibly in conjunction with his
> updateusr() function.
> 
> For interactive placement of figures, it should be possible to use
> locator() to place each plot.
> 
> Peter Ehlers
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

**********************
"The contents of this message do not reflect any position of the U.S.
Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
1352 Lighthouse Avenue
Pacific Grove, CA 93950-2097

e-mail: Roy.Mendelssohn at noaa.gov (Note new e-mail address)
voice: (831)-648-9029
fax: (831)-648-8440
www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected" 
"the arc of the moral universe is long, but it bends toward justice"
-MLK Jr.



More information about the R-help mailing list