Re: [R] inset one map on top of another map

2011-09-28 Thread Jean V Adams
Thank you, Ray! That worked. Thank you also, Yihui. I tried your subplot() suggestion, but couldn't get it to work with a map() on a map() Jean Ray Brownrigg wrote on 09/27/2011 07:26:34 PM: > > On Wed, 28 Sep 2011, Jean V Adams wrote: > > I want to overlay a small inset map on top of ano

Re: [R] inset one map on top of another map

2011-09-27 Thread Ray Brownrigg
On Wed, 28 Sep 2011, Jean V Adams wrote: > I want to overlay a small inset map on top of another map, but I can't > figure out how to do it. > For example, here are two different maps: > > # map 1 - Ohio > map("state", region= "ohio") > > # map 2 - US with Ohio darkened > map("state") > map("stat

Re: [R] inset one map on top of another map

2011-09-27 Thread Yihui Xie
How about the subplot() function in the TeachingDemos package? It is basically using par() but you do not have to learn all the gory details. Regards, Yihui -- Yihui Xie Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On T

[R] inset one map on top of another map

2011-09-27 Thread Jean V Adams
I want to overlay a small inset map on top of another map, but I can't figure out how to do it. For example, here are two different maps: # map 1 - Ohio map("state", region= "ohio") # map 2 - US with Ohio darkened map("state") map("state", region="ohio", fill=T, add=T) I would like to add map