First call par(mfrow = c(2,2)) to get four plots in one panel then plot your top figures using plot(x, xaxt="n")#this will generate the plot withoput displaying the x axis and then plot your bottom figures keeping the axis (without using xaxt="n")
You may want to fix the x axis limits to match between figures using the argument xlim=c(min,max) within plot() More details in your note would have been helpful to give you better guidance Cheers Francisco >From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> >To: r-help@stat.math.ethz.ch >Subject: [R] Complex plotting in R >Date: Tue, 12 Jul 2005 14:51:18 +0000 > >Hi list, > >I'm looking for a function or a combination of functions to do panel >plotting of mixed graph types with the same x axis. > >I would like to construct a panel with 3 stacked windows with on top a >histogram, below that 2 cdf plots. They all have the same x axis value but >different y axis values. Is it possible to construct something like that? > >I've looked into the lattice package but it doesn't seem to solve my >problem because I clearly want 1 x axis for all the graphs so not just a >panel with 3 full graphs. > >Something like this: > >http://www.ats.ucla.edu/stat/sas/faq/InfluencePlots6.gif > >(copyright to whom copyright is due...) > >but with the top and bottom graphs merged. > >Best regards, >Koen Hufkens > >______________________________________________ >R-help@stat.math.ethz.ch mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide! >http://www.R-project.org/posting-guide.html ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html