R:ggplot2 x轴在边缘切割
我用以下代码生成了一个图形:R:ggplot2 x轴在边缘切割,r,ggplot2,graph,R,Ggplot2,Graph,我用以下代码生成了一个图形: plot final <- plot + test_neu + geom_vline(xintercept=as.integer(as.POSIXct("2017-10-01")), col = "black", linetype=2) + coord_cartesian(ylim = c(0.6,1.9)) + scale_x_datetime(expand = c(0, 0)) 绘图 最终检查它对我没有帮助:/
plot
final <- plot + test_neu + geom_vline(xintercept=as.integer(as.POSIXct("2017-10-01")), col = "black", linetype=2)
+ coord_cartesian(ylim = c(0.6,1.9))
+ scale_x_datetime(expand = c(0, 0))
绘图
最终检查它对我没有帮助:/