Re: [R] R Stacked Histogram

2009-01-08 Thread hadley wickham
# Unfortunately due to a small bug in the current version of ggplot, you need to use # jpeg with an e to get jpegs ggsave(file = ggsave_qplot_output.jpeg) # But I'd recommend using png instead - much better quality ggsave(file = ggsave_qplot_output.png) Here's a cute illustration of why I

Re: [R] R Stacked Histogram

2009-01-07 Thread Jason Rupert
: ONKELINX, Thierry thierry.onkel...@inbo.be Subject: RE: [R] R Stacked Histogram To: jasonkrup...@yahoo.com, r-help@r-project.org Date: Tuesday, January 6, 2009, 9:54 AM Dear Jason, Have a look at scale_y_continuous() and scale_fill_discrete(). This might work (untested as your example

Re: [R] R Stacked Histogram

2009-01-07 Thread hadley wickham
On Wed, Jan 7, 2009 at 7:55 AM, Jason Rupert jasonkrup...@yahoo.com wrote: That worked! Thank you very much for the help. I think I have one last question about qplot in ggplot2, That is exporting the plot to JPG while in a loop. I tried what was recommended in Re: [R] jpeg() creating

Re: [R] R Stacked Histogram

2009-01-07 Thread Jason Rupert
] timeDate_290.81    vcd_1.2-1  MASS_7.2-44    colorspace_1.0-0  --- On Wed, 1/7/09, hadley wickham h.wick...@gmail.com wrote: From: hadley wickham h.wick...@gmail.com Subject: Re: [R] R Stacked Histogram To: jasonkrup...@yahoo.com Cc: r-help@r-project.org Date: Wednesday, January 7, 2009, 9

[R] R Stacked Histogram

2009-01-03 Thread Jason Rupert
I've seen this asked, but never fully answered.  Is it possible to plot stacked histograms in R? I have four data sets that I would like to show combined vertically in histogram format.  Is this possible?  Thank you for any feedback you can provide. P.S. I know I can show the four sets

Re: [R] R Stacked Histogram

2009-01-03 Thread hadley wickham
On Fri, Jan 2, 2009 at 11:00 PM, Jason Rupert jasonkrup...@yahoo.com wrote: I've seen this asked, but never fully answered. Is it possible to plot stacked histograms in R? I have four data sets that I would like to show combined vertically in histogram format. Is this possible? Yes, but

Re: [R] R Stacked Histogram

2009-01-03 Thread John Kane
Is this of any help? http://www.cse.unsw.edu.au/~mike/myrlibrary/geneplotter/html/histStack.html --- On Sat, 1/3/09, Jason Rupert jasonkrup...@yahoo.com wrote: From: Jason Rupert jasonkrup...@yahoo.com Subject: [R] R Stacked Histogram To: r-help@r-project.org Received: Saturday, January 3