library(ggplot2)
library(gridExtra)
load("allobstot.blindern.Rda")
p1 <- qplot(allobstot.blindern$dateandtime, allobstot.blindern$air_temperature,
geom = c("line"), xlab = "Time", ylab = "Temperature" )
p2 <- qplot(allobstot.blindern$dateandtime, allobstot.blindern$deseasonalized_air_temperature,
geom = c("line"), xlab = "Time", ylab = "Deseasonalized Temperature" )
p3 <- qplot(allobstot.blindern$precipitation_amount,
geom = "histogram", xlab = "Time", ylab = "Precipiation")
grid.arrange(p1,p2,p3, nrow = 2)
答案 0 :(得分:0)
这以前发生在我身上,这可能是因为您试图在pdf中绘制许多数据点。由于每个点都是pdf格式的对象,具体取决于您的数据,因此将冻结计算机上的图形。首先尝试将数据缩减为几个数据点,然后查看是否冻结,否则,这是因为您要处理的数据点太多。