[R] ggplot2 scale_shape question

2009-10-14 Thread Jonathan Bleyhl

Is there a way to have some points solid and some points hollow? I have two
classes of points and there are so many points, that it's hard to see just
the difference in shapes. I'd like to have one of the classes be hollow in
addition to being a different shape. Any help would be grand.

Thanks,
Jon
-- 
View this message in context: 
http://www.nabble.com/ggplot2-scale_shape-question-tp25882277p25882277.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
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.


Re: [R] ggplot2 scale_shape question

2009-10-14 Thread hadley wickham
 Is there a way to have some points solid and some points hollow? I have two
 classes of points and there are so many points, that it's hard to see just
 the difference in shapes. I'd like to have one of the classes be hollow in
 addition to being a different shape. Any help would be grand.

You'll need to do it yourself with scale_shape_manual - see the
appendix (http://had.co.nz/ggplot2/book/appendices.pdf) for
specification of point shapes.

Hadley


-- 
http://had.co.nz/

__
R-help@r-project.org mailing list
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.