2021年3月26日星期五

"Error in plot.xy(xy.coords(x, y), type = type, ...) : plot.new has not been called yet"

Some unsual error appears with line function in R, when I want line

lines(soy$Year,ci_soy[,1],col='black',lwd=3)    lines(soy$Year,ci_soy[,1],type="l", col="green", lwd=3,xlab="Year", ylab="bu_acre")    plot(soy$Year,ci_soy[,1],type="l", col="green", lwd=3,xlab="Year", ylab="bu_acre")  

enter image description here

https://stackoverflow.com/questions/66824433/error-in-plot-xyxy-coordsx-y-type-type-plot-new-has-not-been-cal March 27, 2021 at 05:20AM

没有评论:

发表评论