Re: [R] two graphs

From: John Kane <jrkrideau_at_yahoo.ca>
Date: Mon, 7 Jan 2008 18:41:03 -0500 (EST)


?par and have a look at mfrow

par() controls a vast amount of plotting options for regular graphics

Example
aa <- rnorm(100, 25, 4)
bb <- aa/2

 par(mfrow=c(2,1))
hist(aa)
plot(bb)


> Dear R community,
> I am plotting a histogram and would wish to
> display another variable of
> the same dataset in a very narrow heatmap just below
> the x-axis. Never mind
> the specifics of my task: How can I draw a second
> graph/image just below a
> first graph/image?
>
> Thank you!
> Georg.
> ***************
> Georg Ehret
> JHU
> Baltimore, MD 21043, USA
>
> [[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.
>



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. Received on Mon 07 Jan 2008 - 23:44:57 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 08 Jan 2008 - 00:30:05 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive