[R] Single Title for the Multiple plot page

jim holtman jholtman at gmail.com
Thu May 3 13:56:51 CEST 2007


Here is a way of putting  a title in the outer margin:

par(mfrow=c(2,2), oma=c(0,0,3,0))  # leave space in outer margin
plot(1)
plot(2)
plot(3)
plot(4)
mtext('Outer Title', adj=0.5, side=3, outer=TRUE)

On 5/3/07, Mohammad Ehsanul Karim <wildscop at yahoo.com> wrote:
> Dear List,
>
> In R we can plot multiple graphs in same page using
> par(mfrow = c(*,*)). In each plot we can set title
> using main and sub commands.
>
> However, is there any way that we can place an
> universal title above the set of plots placed in the
> same page (not individual plot titles, all i need is a
> title of the whole graph page) as well as sib-titles?
> Do I need any package to do so?
>
> Thank you for your time.
>
> Mohammad Ehsanul Karim (R - 2.3.1 on windows)
> Institute of Statistical Research and Training
> University of Dhaka
>
> ______________________________________________
> R-help at 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.
>


-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem you are trying to solve?



More information about the R-help mailing list