Re: [R] ggplot2: how to increase size of legend box when converting to pdf

2014-03-03 Thread Ranjan Maitra
On Mon, 3 Mar 2014 16:17:11 -0500 Duncan Murdoch wrote: > On 14-03-03 4:02 PM, Ranjan Maitra wrote: > > Hi, > > > > I have struggled with this quite a bit (all morning and afternoon) and I > > am not sure I am any close to a solution. Basically, here is my sample > > code: > > > > require(grid) >

Re: [R] ggplot2: how to increase size of legend box when converting to pdf

2014-03-03 Thread Duncan Murdoch
On 14-03-03 4:02 PM, Ranjan Maitra wrote: Hi, I have struggled with this quite a bit (all morning and afternoon) and I am not sure I am any close to a solution. Basically, here is my sample code: require(grid) require(ggplot2) X <- data.frame(x = c(rnorm(10), rnorm(10, mean = 2, sd = 2), rnorm

[R] ggplot2: how to increase size of legend box when converting to pdf

2014-03-03 Thread Ranjan Maitra
Hi, I have struggled with this quite a bit (all morning and afternoon) and I am not sure I am any close to a solution. Basically, here is my sample code: require(grid) require(ggplot2) X <- data.frame(x = c(rnorm(10), rnorm(10, mean = 2, sd = 2), rnorm(10, mean =5)), group = c(rep("Ellipse", 10)