[R] understanding cex (R plots)

2013-02-26 Thread Martin Batholdy
Hi, I try to make multiple plots look as similar as possible. I create each plot with pdf(), using the same height but different width in inch. For some plots I use the layout() function to draw multiple subplots side by side in one pdf. For each plot I use the same cex values for the

Re: [R] understanding cex (R plots)

2013-02-26 Thread Greg Snow
Have you queried the value of 'cex' and related parameters at the different time points? The help page for par says that when you set mfcol or mfrow that cex is changed, but I don't know if the layout function also changes those or not. I would start by peppering your code with calls to

Re: [R] understanding cex (R plots)

2013-02-26 Thread Martin Batholdy
thank you! It seems like the problem was the layout-function automatically changing the cex parameter for the subplots. adding par(cex =1) after the layout() call solved it. Now, character expansion levels seem equal across plots. On Feb 27, 2013, at 00:57 , Greg Snow 538...@gmail.com wrote: