Java Mailing List Archive

http://www.r-help.com/

Home » Home (12/2007) » R Help for Statistical Computing »

[R] adding custom details to ggplot subplots

Antonio, Fabio Di Narzo

2007-05-13

Replies:

Hi all.
Consider the following example from ggplot vignette:

ggpoint( ggplot(tips, .~sex, ae=list(y=tip, x=total_bill)) )

You have one scatterplot per sex. With 'ggabline' I can add one or more
lines to each subplot at the same time.
How can I add different lines in each subplot?
Note that I have 0<knowledge<little of grid graphics.

Antonio.
--
Antonio, Fabio Di Narzo
Ph.D. student at
Department of Statistical Sciences
University of Bologna, Italy

 [[alternative HTML version deleted]]

______________________________________________
R-help@(protected)
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
©2008 r-help.com - Jax Systems, LLC, U.S.A.