[R] Three plots with logged X-axis in the same plot

John Kane jrkrideau at inbox.com
Thu May 16 14:53:25 CEST 2013


Can you supply us with a bit of sample data?  It's not clear from your description of the problem if you are working with equivalent x -scales where it would be very easy to just plot all curves on one plot or if there are scale or item differences that might require diffferent panels.

https://github.com/hadley/devtools/wiki/Reproducibility

John Kane
Kingston ON Canada


> -----Original Message-----
> From: patrik.ohagen at mpa.se
> Sent: Thu, 16 May 2013 11:50:20 +0000
> To: r-help at r-project.org
> Subject: [R] Three plots with logged X-axis in the same plot
> 
> I have, say, three plots with several medical terms on the y-axis plotted
> against HR's on a log-scaled x-axis. In order to highlight the time
> profile for the different plots, I would like to "merge" (put them next
> to each other, if that makes sense) together the log scaled x-axises and
> present the data in a single plot.
> 
> How to do it? Using par(mfrow=c(1,3)) seems to waste too much printing
> area.
> 
> Any suggestions?
> 
> Thank you in advance!
> 
> Cheers, Patrik
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> 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.

____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!



More information about the R-help mailing list