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

Öhagen Patrik Patrik.Ohagen at mpa.se
Thu May 16 15:09:26 CEST 2013

Hi John, Thank you for your input! The thing is that the graph would be to messy if I plotted all the data in a single plot. I wish I could share some data but I am all of the stuff is highly confidential. Sorry.

Cheers, Patrik

-----Ursprungligt meddelande-----
Från: John Kane [mailto:jrkrideau at inbox.com] 
Skickat: den 16 maj 2013 14:53
Till: Öhagen Patrik; r-help at r-project.org
Ämne: RE: [R] Three plots with logged X-axis in the same plot

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.


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.

More information about the R-help mailing list