similar to: switch of cex adjustment with mfrow?

Displaying 20 results from an estimated 10000 matches similar to: "switch of cex adjustment with mfrow?"

2017 Aug 02
0
switch of cex adjustment with mfrow?
On 02/08/2017 8:29 AM, Jannis via R-help wrote: > 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
2017 Aug 03
1
switch of cex adjustment with mfrow?
> use > > par(mfrow=c(2,2), cex = 1) This does work as written. But when I first checked single-call setting, an mfrow change to cex in the same call superseded cex=1; hence my suggestion to use separate calls to par(). Further checking confirms that the result of a call to par is dependent on argument specification order in the call: par(mfrow=c(2,2), cex = 1) par("cex") #
2012 Sep 02
2
Impact of cex changing as a function of mfrow
R 2.15.1 OS X (MLion) Colleagues, I am aware that changes in mfrow / mfcol in par() affect cex (from help: In a layout with exactly two rows and columns the base value of ?"cex"? is reduced by a factor of 0.83: if there are three or more of either rows or columns, the reduction factor is 0.66). I generate a multipage PDF in which mfrow varies such that cex is impacted. This affect
2011 May 11
1
mtext text size (cex) doesn't match plot
Hi, I am using mtext instead of the ylab argument in some plots because i want to move it away from the numbers in the axis. However, the text in the X axis, for example: par(mar=c(5, 5.5, 4, 2)); plot(data, main="plot name", xlab= 'X axis', ylab="", font=2, cex.lab=1.5, font.lab=2, cex.main=1.8); mtext('Y axis', side=2, cex=1.5, line=4,
2012 Jul 26
3
Adjust the position of main in par(mfrow)
hey guys I want two plots in one window with an overall title and with individual titles for each plots. my code: par(mfrow=c(2,1)) bp_dirverq1=boxplot(dirverq1, col="orange",horizontal=TRUE, main="Q1 2012",cex.main=0.7) bp_dirverq2=boxplot(dirverq2, col="orange",horizontal=TRUE, main="Q2 2012",cex.main=0.7) title("Direktveranlagung in
2004 Jul 19
1
filled.contour() ignores mfrow (PR#7114)
Full_Name: Karel 'Clock' Kulhavy Version: 1.9.0 OS: GNU/Linux Submission from: (NULL) (212.71.168.94) par(mfrow=c(2,1) is ignored by filled.contour().
2008 Dec 05
0
par(mfrow = ) resets par('cex'), not reduces it (PR#13373)
help(par) says: 'mfcol, mfrow' ... In a layout with exactly two rows and columns the base value of '"cex"' is reduced by a factor of 0.83: if there are three or more of either rows or columns, the reduction factor is 0.66. In reality, par(mfrow =) *resets* par ('cex'), not reduces it as documented. To reproduce: par(cex = 0.5) par(mfrow = c(2,
2008 May 14
2
mfrow
Dear members, I want to create 8 graphs and write it into one page using mfrow=c(4,2). How to make all graphs (including the titles, legends, line types) to be scale down (resized proportionally). As an illustration, below is the code: pdf("testmfrow.pdf") par(mfrow=c(4,2)) x<-seq(1:10) y1<-rnorm(10) y2<-rnorm(10,mean=2,sd=1) y3<-rnorm(10,mean=3,sd=1)
2010 Sep 08
6
'par mfrow' and not filling horizontally
Greetings, Folks. I'd appreciate being shown the way out of this one! I've been round the documentation in ever-drecreasing circles, and along other paths, without stumbling on the answer. The background to the question can be exemplified by the example (no graphics window open to start with): set.seed(54321) X0 <- rnorm(50) ; Y0 <- rnorm(50)
2003 Jul 11
1
Title obscured when using par(mfrow) (PR#3463)
I want to put multiple plots on a page using par(mfrow), then a single title at the top. This should work, but doesn't: R> par(oma=c(0,0,4,0), mfrow=c(3,4)) R> for (i in 1:12) {plot(1); title(i)} R> ## text(10,10, ".") R> par(mfrow=c(1,1), oma=c(0,0,1,0)) R> title("Main Title") The main title does not appear. However, uncommenting the third line
2011 Nov 16
2
strange behavior from cex="*"
Someone inquired on StackOverflow about apparently non-deterministic graphics behaviour in R. I noticed that they were using cex="*" and discovered some potentially weird behavior. On repeated runs of the same code I can get different PNGs. If I set the number of runs high enough, I seem to be able to get R to hang. If I do a single version plotting to an interactive graphics
2009 Feb 05
2
Unexpected mfrow, layout behavior (pdf still has multiple pages)
My goal is to create a graph with one column and three rows into a single graphic. The mfrow, mfcol, and layout functions all have the same effect: three graphs are produced in a single pdf file, having one graph per page. This is not what I want (I didn't want multiple pages). Just before I sent this post, I was able to generate the desired output with split.screen. Is this the expected
2013 Jul 20
2
Different x-axis scales using c() in latticeExtra
Hi, I would like to combine multiple xyplots into a single, multipanel display. Using R 3.0.1 in Ubuntu, I have used c() from latticeExtra to combine three plots, but the x-axis for two plots are on a log scale and the other is on a normal scale. I also have included equispace.log=FALSE to clean up the tick labels. However, when I try all of these, the x-axis scale of the first panel is used
2002 Sep 23
4
Overall Title in par(mfrow)
Hi, Say I did something like: par(mfrow = c(1, 2)) plot(1:10) plot(1:10) and I'd like to have an overall title, i.e. a title that would appear, centered, on the top of both plots, rather than the top of the last plot. I tried: title("FOO", outer = T) but it doesn't appear right. Half of the FOO is outside the figure region and can't be seen... Is there another
2006 Mar 31
2
lattice: problem with cex argument.
Hi, I'm trying to plot a "bubbles" plot wich I do with the cex argument. The problem is that it looks like it fails the conditioning and reuses the first 100 elements of the cex vector. See the code x <- rep(rep(1:10,10),2) y <- rep(rep(c(1:10),rep(10,10)),2) z <- rep(1:2,c(100,100)) w <- rpois(200,l=1) xyplot(y~x|z, cex=w) the plot has the same pattern in both sides
2013 Feb 26
1
understanding cex (R plots)
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 different plotting functions (cex.axis, cex.lab, cex.points etc.) Still, when I compare the pdf's the
2012 Jul 09
2
mfrow and centering plots when there's an odd number
Let me start with an example: par(mfrow=c(2,3)) for (i in 1:5){ x = rnorm(100) y = .5*x + rnorm(100, 0, sqrt(1-.5^2)) plot(x,y) } Note that there's five plots and six spaces for those plots via mfrow, leaving one row empty. Is there a way to have the bottom two plots centered? I think it looks weird to have them left-justified. Thanks in advance for the help! -- Dustin Fife PhD
2000 Dec 17
1
multiframe in postscript
I was hoping that the following specification postscript(file="fig.ps",height=2,width=4) par(mar=c(5,5,2,2)+.1,mfrow=c(1,2),mex=.6) would yield the same scaling effect as postscript(file="fig.ps",height=2,width=6) par(mar=c(5,5,2,2)+.1,mfrow=c(1,3),mex=.6) but the fact is that the 'mfrow=c(1,2)' yields smaller plotting frame and bigger font size.
1997 May 21
1
R-alpha: Plot: Title above 'mfrow=c(2,2)' ??
In S, I can have an "overall" title in a multi-figure plot : par(mfrow=c(2,2), oma = c(0,0,2,0)) frame() #- ! mtext("Sine Functions", cex=2, outer =T) x_1:100 for(i in 1:4) plot(x, sin(i*pi*x/100), main=paste(i), type = 'l', col = 1+i) In R, this doesn't work as it should, with and without the 'frame()' statement. ((where is the bug?
2007 Jul 19
1
mfrow is ignored by some plots
Hi all, I was just informed that the plots in the radial.plot family in the plotrix package do not plot correctly when using mfrow or mfcol to subdivide the plot window. I found one related message, an answer from Deepayan Sarkar to a question about lattice graphics, but that shed no light on this problem. If I invoke par(mfrow=c(2,2)) and run radial.plot a few times, the plots appears in