[R] par(tmag) question
Jean lobry
lobry at biomserv.univ-lyon1.fr
Wed Apr 19 09:28:37 CEST 2006
Dear list,
I'm trying to understand the graphical parameters by a systematic exploration
of the par() function (if you are interested by the result it's here
http://pbil.univ-lyon1.fr/R/fichestd/tdr75.pdf, the comments are all in
french but it's pure R code under Sweave).
I have a problem with par(tmag) illustrated by the following code:
###################################################
par(mfrow = c(2, 2))
for(tmag in seq(from = 0.5, to = 2, length = 4)){
par(tmag = tmag)
plot(0, main = paste("tmag =", round(tmag, 2)))
}
###################################################
From the documentation, tmag is "[a] number specifying the enlargement of
text of the main title relative to the other annotating text of the plot",
so that my understanding is that the main title size should have been
modified between the four figures. However, on my devices (quartz, pdf,
png, or x11) the main title size is not affected between the four figures.
What am I missing here? I have RSiteSearch("tmag") without success.
> version
_
platform powerpc-apple-darwin7.9.0
arch powerpc
os darwin7.9.0
system powerpc, darwin7.9.0
status
major 2
minor 2.0
year 2005
month 10
day 06
svn rev 35749
language R
Any hint would be greatly appreciated,
Jean
--
Jean R. Lobry (lobry at biomserv.univ-lyon1.fr)
Laboratoire BBE-CNRS-UMR-5558, Univ. C. Bernard - LYON I,
43 Bd 11/11/1918, F-69622 VILLEURBANNE CEDEX, FRANCE
allo : +33 472 43 12 87 fax : +33 472 43 13 88
http://pbil.univ-lyon1.fr/members/lobry/
More information about the R-help
mailing list