Re: [R] Changing histogram stack in qplot

2009-01-28 Thread Jason Rupert
Worked beautifully!  Thank you again for providing such a flexible package.  --- On Wed, 1/28/09, hadley wickham wrote: From: hadley wickham Subject: Re: [R] Changing histogram stack in qplot To: jasonkrup...@yahoo.com Cc: R-help@r-project.org Date: Wednesday, January 28, 2009, 3:32 PM Hi

Re: [R] Changing histogram stack in qplot

2009-01-28 Thread hadley wickham
Hi Jason, You'll need scale_fill_manual(values = c(low = "blue", middle = "black", high = "red")) See http://had.co.nz/ggplot2/scale_manual.html for more examples/details. Regards, Hadley On Wed, Jan 28, 2009 at 3:11 PM, Jason Rupert wrote: > I've been using qplot pretty successfully to gener

[R] Changing histogram stack in qplot

2009-01-28 Thread Jason Rupert
I've been using qplot pretty successfully to generate stacked histograms.  However, it appears that I need to tweak the colors a little.    I've got three temperature variables (characters not numeric) and I need to change from the default qplot colors to the following: Low = Blue Middle = black