http://f.dataguru.cn/thread-121937-1-1.html
我运行> lines(density(r),col="blue") 命令 得到下面这个错误
Error in plot.xy(xy.coords(x, y), type = type, ...) :plot.new has not been called yet
请问怎么解决啊?
要先用 plot 函数绘出图形,才能调用 lines 函数 或者说,如果还没绘出图形(不限于是否使用 plot),那么无法调用 lines 函数 |