我试图在单个绘图中绘制时间序列数据类型的2个不同的列,但是显示的年份似乎阻碍了图表的查看.如何删除图表中的年份,以便可以清楚地看到图表?
The below code is how i created the chart
data('fertil3')
fertil = ts(fertil3, frequency = 1, start = 1913)
plot(x = fertil[,"year"], y = fertil[,"gfr"], type="l", col="red", ylim = c(0, 250), xlab="Time", ylab="")
par(new=TRUE)
plot(x = fertil[,"year"], y = fertil[,"pe_1"], type="l", col="blue", ylim = c(0, 250),xlab="Time", ylab="")