小编Mor*_*itz的帖子

使绘图 abline 线透明

我想使用函数 abline 绘制几条应该透明的线,但我被卡住了。

目前我有这个代码:

plot(x=NA, type="n", ylim=c(1, 9), xlim=c(1, 4), xlab="x-value",
 ylab="y-value", cex.axis = 1, cex.lab = 1)

for (i in 1:nrow(one_hundred_regressions)) {abline(coef=one_hundred_regressions[i,],
                                                col = "red")}
Run Code Online (Sandbox Code Playgroud)

plot r colors line

4
推荐指数
1
解决办法
1252
查看次数

标签 统计

colors ×1

line ×1

plot ×1

r ×1