Why does coord_map produce a weird output?

前端 未结 3 2169
梦毁少年i
梦毁少年i 2021-02-20 02:19

I\'m trying to draw a world map using ggplot. My code is in my gist file. The output is correct when I don\'t use coord_map but very strange when I use

3条回答
  •  你的背包
    2021-02-20 03:12

    I'm sure that is quite late but the same problem is still happening in ggplot.

    If you're trying to zoom-in use the following approach.

    ggplot()+...+xlim(c(-100, -25))+ ylim(c(-60, 20))
    

    Good luck!

提交回复
热议问题