Plot over multiple pages

后端 未结 3 830
北荒
北荒 2020-11-27 19:07

I have the facet_wrap function to make multiple graphs (n=~51) but they all appear on one page. Now after searching, I found out that ggplot2 can\'t pl

3条回答
  •  天命终不由人
    2020-11-27 19:53

    something like :

    by(indbill, indbill$individual, function (x){
        ggplot(x, aes(x = prey, y = weight), tab) +
        geom_polygon(aes(group = load, color = capture), fill = NA, size = 0.75) +
        theme(axis.ticks.x = element_blank(),
            axis.text.x = element_text(size=rel(0.5)),
            axis.ticks.y = element_blank(),
            axis.text.y = element_blank()) +
        xlab("") + ylab("") +
        guides(color = guide_legend(ncol=2)) +
        coord_radar()
    }
    

提交回复
热议问题