data=read.csv('C:\\Users\\acer\\Desktop\\x1.csv',head=T)
par(mfrow=c(3,2),mar=c(0,8,0,2), oma = c(3, 0, 3, 0),cex.axis=1,cex.lab=2,mex=0.5)
attach(data)
plot(y1,xaxt="n", xlab = "", type = "l")
plot(y2,xaxt="n", xlab = "", type = "l")
plot(y3,xaxt="n", xlab = "", type = "l")
plot(y4,xaxt="n", xlab = "", type = "l")
plot(y5, axes=F,type='l',xlab='year')
axis(1, 1:12, year-2000)
axis(2)
box()
plot(y7, axes = F, type = "l",xlab='year')
axis(1, 1:12, year-2000)
axis(2)
box()
text(-1,-1,'year')
mtext("Big Title", outer = TRUE, cex = 1)
调节mar和mex即可,但是具体调多少,还是你自己尝试


雷达卡





京公网安备 11010802022788号







