[R] How to add a common title (or xlab, ylab) for multi-plots in the same window?

Uwe Ligges ligges at statistik.uni-dortmund.de
Mon Aug 2 19:55:58 CEST 2004


F Duan wrote:
> Dear R people,
> 
> I am using par(mfrow=c()) to plot multi-figures in the same window. And I like 
> to put a common title (and xlab, ylab) for all of plots. I have already left 
> some margin by resetting omi values in par() and hided all (xlab, ylab) for 
> each sub-plot. Could anyone tell me how to do that?

Use title() or mtext() with argument outer=TRUE.

Uwe Ligges


> Thanks a lot,
> 
> Frank
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list