r - Plot density with ggplot2 without line on x-axis -
i use ggplot2::ggplot
2d plotting needs, including density plots, find when plotting number of overlapping densities extreme outliers on single space (in different colors) line on x-axis becomes little distracting.
my question then, can remove bottom section of density plot being plotted? if so, how?
you can use example:
library(ggplot2) ggplot(movies, aes(x = rating)) + geom_density()
should turn out this:
Comments
Post a Comment