Iñaki Úcar @enchufa2.es · Nov 29

#rstats #ggplot2 trick to set a nice alpha based on the number of elements in a plot: alpha <- function(x, scale=20) atan(scale / x) / atan(scale) where x is the number of elements (e.g., lines). Basically, it tends to zero as x increases, but slowly, slower than an exp().

0 likes 0 replies

?