Add a horizontal line to plot and legend in ggplot2. (1) Try this: cutoff <- data.frame( x = c(-Inf, Inf), y = 50, cutoff = factor(50) ) ggplot(the.data, ...
確定! 回上一頁