[R] two graphs 1 x-axis
jim at bitwrit.com.au
Fri Oct 16 12:35:56 CEST 2009
On 10/16/2009 09:22 PM, Duijvesteijn, Naomi wrote:
> Dear R-people
> I have a question concerning plotting graphs.
> Here an example dataset
> plot(d$a, d$b, col="red")
> plot(d$a,d$c, col="red", pch="|")
> What I would want is to plot de second plot under the first plot. So not in the the first plot. There is a way to divide your graph in 2 or 3 parts and use the same x-axis but I do not seem to get it right. Could somebody help me out?
You may want to change the margins (par(mar=c(...)) to get the spacing
the way you want it.
More information about the R-help