Creating a facet_wrap plot with ggplot2 with different annotations in each plot

前端 未结 2 474
予麋鹿
予麋鹿 2020-12-08 05:30

I am using ggplot2 to explore the result of some testing on an agent-based model. The model can end in one of three rounds per realization, and as such I am interested in h

2条回答
  •  轮回少年
    2020-12-08 05:48

    The same question may be asked as for adding segments for each facet. We can solve these general problems by geom_segment instead of annotate("segment",...), for the geom_foo, we can define a data.frame to store the data for the geom_foo.

提交回复
热议问题