Maybe par(mfrow=c(1,2)) would do the trick. It puts two plots (of any kind) to the same device next to each-other. You have to run the command before the plotting commands. To have again only one plot per device, use par(mfrow=c(1,1))
Best, Ales Ziberna Am Stat pravi: > Dear Roger, > > Thanks, that's really helpful, do you know how to deal with it if the two > plots are generated by plot(), not by contour(). > > Best, > > Leon > > > ----- Original Message ----- > From: "roger koenker" <[EMAIL PROTECTED]> > To: "Am Stat" <[EMAIL PROTECTED]> > Sent: Monday, September 04, 2006 8:06 PM > Subject: Re: [R] plot a new picture against an old one to see the difference > between them > > >> for the second call to contour use the argument add=TRUE. >> >> On Sep 4, 2006, at 6:42 PM, Am Stat wrote: >> >>> Hello, useR:, >>> >>> Suppose I have two plots made by using contour() function, say Cont1 and >>> Cont2 respectively. >>> >>> They have slightly difference because of the two slightly different data >>> I used. >>> >>> I want to see the difference between them so I want to plot Cont2 on >>> Cont1, are there any methods to plot it without filling the frame of >>> Cont1 totally of Cont2. >>> I mean, how I can integreate the two plots together that they kind of >>> have weighted colors? >>> >>> Thanks very much in Advance! >>> >>> Leon >>> [[alternative HTML version deleted]] >>> >>> ______________________________________________ >>> 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 >>> and provide commented, minimal, self-contained, reproducible code. > > ______________________________________________ > 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 > and provide commented, minimal, self-contained, reproducible code. > ______________________________________________ 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 and provide commented, minimal, self-contained, reproducible code.