[R] prevent mfrow from changing cex

Jannis bt_jannis at yahoo.de
Sat Sep 14 15:01:02 CEST 2013


Thanks for your reply, Gert. I was aware of the documentation. Thanks 
for your hint. In addition I have found that running

par(mfrow = c(2,2))
par(cex=1)

sequentially also has the desired result.


Cheers
Jannis

On 13.09.2013 19:01, Bert Gunter wrote:
> ?par documents this behavior. I think if you just initially large cex by
> the appropriate amount, that might compensate for it, but I haven't tested
> this (I use lattice and grid graphics). Otherwise, as suggested in ?par,
> consider ?layout.
>
> Cheers,
> Bert
>
>
> On Fri, Sep 13, 2013 at 9:51 AM, Jannis <bt_jannis at yahoo.de> wrote:
>
>> Dear R users,
>>
>>
>> if I use par(mfrow=c(3,3)), R automatically changes the value of cex and
>> even setting cex=1 in the same par() call does not seem to prevent this.
>> Even though such behavior may be helpful an many cases, I am wondering
>> whether there is a easy way to switch this off (short of setting cex to a
>> value that would be 1 if modified by mfrow).
>>
>> In the end my desire to have the software do what I tell it to do and not
>> what its programmers think I would want to do was one of the reasons to
>> move away to R from (in)famous Excel ;-).
>>
>> Cheers
>> Jannis
>>
>> ______________________________**________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/**listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help>
>> PLEASE do read the posting guide http://www.R-project.org/**
>> posting-guide.html <http://www.R-project.org/posting-guide.html>
>> and provide commented, minimal, self-contained, reproducible code.
>>
>
>



More information about the R-help mailing list