I use ggplot2::ggplot2D graphics for all needs, including density graphs, but I find that when building the number of overlapping densities with extreme outliers in the same space (in different colors), the x-axis line becomes little distracting.
My question is, is it possible to remove the bottom of the density graph from the graph? If so, how?
You can use this example:
library(ggplot2)
ggplot(movies, aes(x = rating)) + geom_density()

It should be like this:

source
share