Re: [R] Fw: Re: R Stacked Histogram

2009-01-10 Thread hadley wickham
Hi Jason, You can do: qplot(mpg, wt, data = mtcars, colour = factor(cyl)) + opts(legend.position = c(0.5, 0.5)) Hadley On Thu, Jan 8, 2009 at 3:04 PM, Jason Rupert wrote: > Thank you again for your response. > > This worked great. > > Quick question about the legend for qplot. Instead of bein

Re: [R] Fw: Re: R Stacked Histogram

2009-01-08 Thread Jason Rupert
Thank you again for your response.   This worked great.   Quick question about the legend for qplot.  Instead of being outside the plot, is it possible to move the location of the legend to the upper left or right corner of the plot?  Could you possibly provide an example.   Thank you again for

Re: [R] Fw: Re: R Stacked Histogram

2009-01-07 Thread hadley wickham
Hi Jason, > Well, one last questions about stack plot (please forgive the lame example > below). I thought the below allow me to resize the the "title" of the > stacked histogram, but no luck. Any suggestions as to the modificaiton > necessary to get it to work? Right now the title is obscured