Skip to content
Prev 138432 / 398506 Next

ggplot2 - Problem with grid plot

On Tue, Mar 4, 2008 at 6:41 AM, ONKELINX, Thierry
<Thierry.ONKELINX at inbo.be> wrote:
Or in the next version of ggplot, you'll be able to do

ggplot(data=diamonds, aes(x=price, colour=cut)) + geom_density() +
geom_vline( intercept = "median") + facet_grid(color~.)

It should be out in the next week or so.

Hadley