[R] title problem

carol white wht_crl at yahoo.com
Sat Nov 21 17:21:12 CET 2009


Hi,
I got problem in using title function to create a title for multiple plots presented together by par. As can be seen in the attached file, the title is displayed truncated and the subtitle doesn't get displayed. Here is the code:

  par(mfrow = c(1,2))
 plot(c(1,2,3), c(9,8,7))
 plot(c(1,2,3), c(9,8,7))
 title(main = "Main title", sub ="Sub title",outer = TRUE, cex.main=1.5, cex.sub = 1.5)

Carol


      
-------------- next part --------------
A non-text attachment was scrubbed...
Name: titlePb.png
Type: image/png
Size: 28006 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091121/a52046b6/attachment-0002.png>


More information about the R-help mailing list