使用 theme 函式中的 legend.position 引數指定R 中的圖例位置 ... p1 <- ggplot(dat, aes(x = year, y = n, color = name)) + geom_line() + ...
確定! 回上一頁