[R] GGPLOT2 Different Layers Different X Values

Hadley Wickham h.wickham at gmail.com
Wed Oct 28 14:59:06 CET 2009


Hi John,

Could you please provide a small reproducible example?

Thanks,

Hadley

Sent from my iPhone

On 26/10/2009, at 6:50 PM, Jonathan Bleyhl <Jonathan_Bleyhl at affymetrix.com 
 > wrote:

>
> I'm trying to plot values based on a date and then overlay a  
> histogram also
> by date. The problem is that both data sets don't have exactly the  
> same
> dates. So when I add the histogram, any dates that aren't already  
> there from
> from the scatter plot just get tacked on at the end and are out of  
> order. I
> tried using scale_x_discrete, but to no avail.
>
> Thanks,
> Jon
> -- 
> View this message in context: http://www.nabble.com/GGPLOT2-Different-Layers-Different-X-Values-tp26069893p26069893.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list