R: How to use coordination of another viewport in Grid package?

Q: I want to locate some sub-viewports in a map, that means the viewport center should be set to the precise place with longitude and latitude. Is it possible to use the coordination of another viewport(here the map plot)?

A: the book “R Graphics” led me to the R graph gallery website. I found the solution there.




Leave a Reply

Your email address will not be published. Required fields are marked *