相关疑难解决方法(0)

完全删除facet_wrap标签

我想完全删除刻面的标签以创造一种迷你效果,因为标签是不相关的观众,我能想到的最好的是:

library(MASS)
library(ggplot2)
qplot(week,y,data=bacteria,group=ID, geom=c('point','line'), xlab='', ylab='') + 
     facet_wrap(~ID) + 
     theme(strip.text.x = element_text(size=0))
Run Code Online (Sandbox Code Playgroud)

那么我可以完全摆脱(现在是空白的)strip.background以便为"迷你图"留出更多空间吗?

或者,有没有更好的方法来获得像这样的大量二进制值时间序列的" 迷你 "效果?

graphics r ggplot2

62
推荐指数
3
解决办法
5万
查看次数

标签 统计

ggplot2 ×1

graphics ×1

r ×1