结果:找到“plot type”相关内容9个,排序为按回复时间降序,搜索更多相关帖子请点击“高级”
R语言如何绘制两条线,Error in plot.xy(xy.coords(x, y), type = type, ...) :
1 个回复 - 5689 次查看
> 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)
...
2020-10-2 22:59 - 黑巧豆 - R语言论坛