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@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.