R语言 Legend 函数

legend(x, y = NULL, legend, fill = NULL, col = par("col"),

         border = "black", lty, lwd, pch,

         angle = 45, density = NULL, bty = "o", bg = par("bg"),

         box.lwd = par("lwd"), box.lty = par("lty"), box.col = par("fg"),

         pt.bg = NA, cex = 1, pt.cex = cex, pt.lwd = lwd,

         xjust = 0, yjust = 1, x.intersp = 1, y.intersp = 1,

         adj = c(0, 0.5), text.width = NULL, text.col = par("col"),

         text.font = NULL, merge = do.lines && has.pch, trace = FALSE,

         plot = TRUE, ncol = 1, horiz = FALSE, title = NULL,

         inset = 0, xpd, title.col = text.col, title.adj = 0.5,

         seg.len = 2)


人前一杯酒,各自饮完;人后一片海,独自上岸
原文地址:https://www.cnblogs.com/kisen/p/12565250.html