plot small region of a large polygon map in ggplot2
问题 I have a shapefile which I fortified and plotted in ggplot2 using geom_polygon . How can I plot only a small region of this map? My full map looks fine, but my small region is messed up. Here is a working example: This small shapefile can be obtained from: http://www.mappinghacks.com/data/TM_WORLD_BORDERS_SIMPL-0.2.zip #read data spf<-readOGR(getwd(),"TM_WORLD_BORDERS_SIMPL-0.2") spf@data$id<-rownames(spf@data) #fortify spf1<-fortify(spf,region="id") #full plot ggplot(spf1)+geom_polygon(aes