Grrr ... wrong newsgroup. Sorry, Joh Johannes Graumann wrote:
Hi,
Consider something like
library(ggplot2) movies$decade <- round_any(movies$year, 10) m <- qplot(rating,data=movies,colour=factor(decade),geom="density") m (modified from "?stat_density").
m + geom_point
I'd like to add on the line y=0 a dot for the median of each "decade" category (using the same colour coding as the "fill"). I'm failing miserably at all my based approaches and would appreciate if someone could show me the ggplot2 way of achieving this.
Thanks, Joh
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________