It's not clear exactly what you want, but you may want to look at the
layout function, or the subplot function in the TeachingDemos package.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
[EMAIL PROTECTED]
(801) 408-8111
 
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> [EMAIL PROTECTED]
> Sent: Thursday, August 02, 2007 12:07 PM
> To: R-help@stat.math.ethz.ch
> Subject: [R] two plots super-impose
> 
> Dear R users,
> 
> I used plot(x,y) to draw a scatter plot. I need to add 
> another smaller histogram on the same plot I just had. 
> However when I used hist(y), the histogram was on another page. 
> 
> Any suggestion?
> 
> Best Regards,
> 
> Philip
> 
> 
>       [[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.

Reply via email to