------=_Part_26951_7337931.1229163663746
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Dear R maintainer!
> User misread: it reduces the *base* cex.
It's not quite clear what the base cex is. Having read help(par), I
got the impression that it is the raw value of par(cex) as opposed to
the value multiplied by the value of cex argument which can be passed
to some functions. As you can see from my example, the value of
par(cex) is *reset*, not reduced.
> Setting a layout does reset cex.
Setting a layout using split.screen does not.
I still think it's a graphics bug, not a documentation bug. I've
attached a patch that modifies the behavior of par() and layout()
functions. Please review it and tell me in which cases the original
behavior was more appropriate.
I'm ready to provide any additional info,
Andrey
------=_Part_26951_7337931.1229163663746
Content-Type: text/x-diff; name=layout.patch
Content-Transfer-Encoding: base64
X-Attachment-Id: f_foo43ev90
Content-Disposition: attachment; filename=layout.patch
KioqIC9ob21lL3BlbnQvci1iYXNlLTIuOC4wL3NyYy9tYWluL3Bhci5jCTIwMDgtMDktMjIgMDI6
MDU6MjYuMDAwMDAwMDAwICswNDAwCi0tLSAvaG9tZS9wZW50L3ItYmFzZS0yLjguMC9zcmMvbWFp
bi9wYXIuYy5wYXRjaGVkCTIwMDgtMTItMTMgMTM6MTM6NDcuMDAwMDAwMDAwICswMzAwCioqKioq
KioqKioqKioqKgoqKiogNDIyLDQzNiAqKioqCiAgCVJfREVWXzIoZGVmYXVsdEZpZ3VyZSkgPSBU
UlVFOwogIAlSX0RFVl8yKGxheW91dCkgPSBGQUxTRTsKICAJaWYgKG5yb3cgPiAyIHx8IG5jb2wg
PiAyKSB7CiEgCSAgICBSX0RFVl8yKGNleGJhc2UpID0gMC42NjsKICAJICAgIFJfREVWXzIobWV4
KSA9IDEuMDsKICAJfQogIAllbHNlIGlmIChucm93ID09IDIgJiYgbmNvbCA9PSAyKSB7CiEgCSAg
ICBSX0RFVl8yKGNleGJhc2UpID0gMC44MzsKICAJICAgIFJfREVWXzIobWV4KSA9IDEuMDsKICAJ
fQogIAllbHNlIHsKISAJICAgIFJfREVWXzIoY2V4YmFzZS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