Re: [R] ggplot legend consolidation

2007-09-10 Thread Te, Kaom
, layout.pos.row = 2)) grid.rect() p.legend - get_legends(p) grid.draw(p.legend) --END CODE -Original Message- From: hadley wickham [mailto:[EMAIL PROTECTED] Sent: Monday, September 10, 2007 7:58 AM To: Te, Kaom Cc: r-help@stat.math.ethz.ch Subject: Re

[R] ggplot legend consolidation

2007-09-07 Thread Te, Kaom
Hello Everyone, I have recently been introduced to the ggplot package by Hadley Wickham and must say I am quite impressed so far at how easy it is to make attractive plots, but one thing I am struggling over is how to consolidate legends. I have 3 plots that I would like to put on a single