Adding scale bar to ggplot map

前端 未结 4 544
自闭症患者
自闭症患者 2020-12-14 20:06

I\'ve produced this map in ggplot2:

library(maptools); library(ggplot2)
data(wrld_simpl)
world <- fortify(wrld_simpl)
worldUk <- subset(wo         


        
4条回答
  •  一个人的身影
    2020-12-14 20:38

    I would suggest annotate(), which would allow you to draw segments of the proper length right in the plotting area. You could then add text above/below as a label.

提交回复
热议问题