Displaying 2 results from an estimated 2 matches for "setmfrow".
2017 Aug 02
0
switch of cex adjustment with mfrow?
...gt; Any ideas?
The par() help page describes the changes that happen when mfrow or
mfcol are set.
You can specify cex when you set mfrow, e.g. instead of
par(mfrow=c(2,2))
use
par(mfrow=c(2,2), cex = 1)
You could put this in a function to save typing (and allow flexibility).
For example,
setmfrow <- function(nr, nc, cex = 1) {
par(mfrow = c(nr, nc), cex = cex)
}
Then use
setmfrow(2,2)
and set both things at once.
Duncan Murdoch
2017 Aug 02
3
switch of cex adjustment with mfrow?
Dear list members,
i am trying to create multiple figures with identical layout (i.e. font sizes etc.) for a publication created with Latex. To do so (i.e. to get identical font sizes) I save all plots as a pdf with widths and heights as they would later appear in the paper (to prevent scaling etc.). My problem now is that I create several multipanel plots with par(mfrow=c(...)) which sometimes