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 2 as a small inset in the corner of map 1. 
I have tried:

map("state", region= "ohio")
par(new=TRUE, mar=c(3, 3, 15, 15))
map("state")
map("state", region="ohio", fill=T, add=T)

but this seems to erase map 1 and replace it with a full size version of 
map 2.

I can successfully overlay an unrelated plot using similar code:

map("state", region= "ohio")
par(new=TRUE, mar=c(3, 3, 15, 15))
plot(1:10, 1:10)

So, there must be something about the maps() function that I'm tripping 
over.

Any suggestions?

I am using R for Windows 2.13.0
and the maps package version 2.1-5.

Jean


`·.,,  ><(((º>   `·.,,  ><(((º>   `·.,,  ><(((º>

Jean V. Adams
Statistician
U.S. Geological Survey
Great Lakes Science Center
223 East Steinfest Road
Antigo, WI 54409  USA

	[[alternative HTML version deleted]]

