Re: [R] Overlaying maps

From: Ray Brownrigg <Ray.Brownrigg_at_ecs.vuw.ac.nz>
Date: Thu, 19 May 2011 08:12:33 +1200

Using my mind-reading skills, plot.Map(), while deprecated, does provide an add= option.

If this doesn't help, you'll need to read the posting guide and provide (a lot) more information.

Ray Brownrigg

On Thu, 19 May 2011, Michael.Laviolette_at_dhhs.state.nh.us wrote:
> I'm having difficulty overlaying maps when writing to a file graphics
> device. My command sequence has the structure
>
> plot(map1)
> par(new = T)
> plot(map2)
>
> On the screen device, it works fine. When I attempt something like
>
> png(file = "map.png")
> plot(map1)
> par(new = T)
> plot(map2)
> dev.off()
>
> only the last map appears, the previous ones having been cleared. Can
> someone clarify?
>
> Thanks,
> Michael Laviolette PhD MPH
> New Hampshire Department of Health and Human Services
>
> ______________________________________________
> 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.



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. Received on Wed 18 May 2011 - 20:14:48 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

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 Wed 18 May 2011 - 20:20:08 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive