> x=c(1:10)
> y=x
> z=10/x
opar=par(no.readonly=TRUE)
> par(mar=c(5,4,4,8)+0.1)
> plot(x,y,type='b',pch=21,col='red',yaxt='n',lty=3,ann=FALSE)
> lines(x,z,type='b',pch=22,col='blue',lty=2)
结果却是
Error in plot.xy(xy.coords(x, y), type = type, ...) :
plot.new has not been called yet
搞了好久也搞不出来
求助