ggplot(diamonds, aes(price, colour = cut)) + geom_density()
ggplot(diamonds, aes(log(price), colour = cut)) + geom_density()
You're transforming the horizontal axis scale, so the shapes of the
estimated densities are going to change as well as their values
(heights).
Dennis
> --
> You received this message because you are subscribed to the ggplot2 mailing
> list.
> Please provide a reproducible example: http://gist.github.com/270442
>
> To post: email ggp...@googlegroups.com
> To unsubscribe: email ggplot2+u...@googlegroups.com
> More options: http://groups.google.com/group/ggplot2
>