search for: mfg

Displaying 20 results from an estimated 1068 matches for "mfg".

Did you mean: mfd
2005 Apr 26
2
postscript (eps) / latex / par(mfg=...) / problem!
The same problem I am having has been reported here http://tolstoy.newcastle.edu.au/R/devel/04a/0344.html Namely that using par(mfg=...) with a postscript (eps) for inclusion with latex makes the figure appear upside down and back to front (flipped)! Converting the dvi to ps makes matters worse (the eps seems to be broken), however, it appears fine with gv. Here is (basically) the code I am using... >dat <- read.table(...
2005 Apr 26
2
postscript (eps) / latex / par(mfg=...) / problem!
The same problem I am having has been reported here http://tolstoy.newcastle.edu.au/R/devel/04a/0344.html Namely that using par(mfg=...) with a postscript (eps) for inclusion with latex makes the figure appear upside down and back to front (flipped)! Converting the dvi to ps makes matters worse (the eps seems to be broken), however, it appears fine with gv. Here is (basically) the code I am using... >dat <- read.table(...
2000 Apr 28
1
graphics: par(mfg=c(i,j,r,c)) (PR#529)
Full_Name: Craig A. McKinstry Version: 1.0.0 OS: WinNT4.0 and Win98 Submission from: (NULL) (192.101.100.130) When creating a multi-panel graphic, the command par(mfg=c(i,j,r,c)) is supposed to allow the user free movement between graphics panels to develop each panel separately. This works for the first invocation of par(mfg=c()) and for the first panel panel specified, but not for subsequent calls to the other panels. Coded example: x_1:20 y_1:20 #these 5...
2007 Aug 16
6
several plots on several pages
...t page) when graph one is plotted. I have the feeling, that I am thinking to complicated. Any help welcome, Rainer pdf("test.pdf") try( { ## Set layout to three rows and only oine column par( mfcol=c(3,1), oma=c(0,0,0,0), mar=c(4, 4, 2, 2) ) ## First row par(mfg=c(1,1)) try( plot(runif(ff)) ) ## Second row par(mfg=c(2,1)) try( plot(runif(100)) ) ## Third row par(mfg=c(3,1)) plot(runif(1000)) ## THE NEXT THREE SHOULD BE ON A NEW PAGE IN THE PDF ## Set layout to three rows and only oine column par( mfcol...
1998 Mar 25
0
R-beta: mfg weirdness
It seems there are problems with mfg, both the old version .61.2 and the snapshot .62. > x<-rnorm(100) > y<-rnorm(100) > y1<-x/y > x11() > par(mfcol=c(2,1)) > par(mai=c(.6,.6,.2,.2)) > plot(x,y,mfg=c(2,1,2,1)) I'm not sure if 2,1 is considered the top or the bottom position on the page, b...
2007 Mar 17
1
problem with mfg argument of par
I'm having a problem with the mfg option of par. Am I making an error in my usage? Here is a simple example that I thought would plot to the 4 corners of a 2x2 plot but doesn't plot to the lower right and plots twice on the upper left. par(mfrow = c(2, 2)) pos <- as.matrix(expand.grid(1:2, 1:2)) for (ix in 4:1) { par(mf...
2006 May 23
2
multiple plots with par mfg
Hi, I'm trying to add points to 2 plots on the fly using par(mfg=vector) so switch between them. However, the appropriate scales aren't switched when changing from one plot to another, e.g. par(mfcol=c(2,1)) plot(1,1, col="blue") # blue plot plot(1.2,1.2, col="red") # red plot points(1.1,1.1) # appears to bottom left of...
2009 Apr 30
0
plot scaling bug when using par(mfg)
Dear list, I've noticed a width/height scaling bug in multi-panel plots when you change the active plot using par mfg The underlying par setting that maps the full plot width (or height) to the numerical axis labels does not get updated when you change plots with par(mfg=...). Thus plotting a point at c(10,10) in the first plot will only be in the correct place IF the most recently generated plot had the s...
2005 Apr 27
1
postscript (eps) / latex / par(mfg=...) / problem! (PR#7820)
...Namely that using par(mfg=...) with a postscript (eps) for inclusion with latex makes the figure appear upside down and back to front (flipped)! Converting the dvi to ps m...
1998 Mar 26
1
R-beta: mfg weirdness + future of graphics pars
Ross Ihaka writes: > > I just checked my S manual and it appears that layout > parameters like can "mfg" only be given in par(). Yes. pty is another, for example. > I think that in fact "mfg" is only meant to be queried. No. One use for setting mfg is to produce a page of plots in portrait orientation with, say, two small plots on the top half of the page and one long flat one...
2006 Jan 20
1
par(mfg=) and postscript and pdf
This is related to the incorrect bug report PR#7820. Marc Schwartz pointed out in https://stat.ethz.ch/pipermail/r-devel/2005-April/033016.html an example of a real problem. If you call par(mfg=) after par(mfrow) (or mfcol) and before you have done any plotting, NewPage is not called on the device at the start of the first page. That causes the DSC comments to be incorrect on postscript() and much worse on pdf(). You would get the same effect by calling par(new=T) before plot.new() i...
2012 Apr 23
2
plot function creating bars instead of lines
...with 2 levels. Any suggestions for getting this to plot as intended would be much appreciated. Thank you! ************ This is meant to plot a separate line for each subject for each challenge************* for (subj in unique(lab.samples$subid)) { #par(new=T) plot.new() par(mfrow=c(2,1)) par(mfg=c(1,1)) plot(data=lab.samples, subset=(subid==subj), cortisol ~ Sample, type='n', main=paste('Cortisol and Amylase for subject ', as.character(subj))) for ( t in unique(subset(lab.samples,subid==subj)$challenge) ) { par(mfg=c(1,1)) lines(data=lab.samples, subset=(subid==su...
2005 Sep 20
2
why this postscript didn't work?
Hi, List, I used the following codes to generate ps plots but foo.ps contains nothing. Would someone please point out what is wrong with my codes? Thanks a million! postscript('foo.ps') par(mfrow=c(2,1)) par(mfg=c(1,1)) hist(rnorm(100),col='blue') par(mfrow=c(2,2)) par(mfg=c(2,1)) hist(rnorm(50),col='blue') par(mfg=c(2,2)) hist(rnorm(60),col='blue') dev.off() Best, Auston Auston Wei Statistical Analyst Department of Biostatistics and Applied Mathematics The University of Texas M...
2008 Sep 27
2
Graphical net install
Is it at all possible to do a graphical netinstall ? I am using centos 5.2, and i have been doing net installs (pxe) for a while in console mode... -- Test <test at remedial-teacher.nl>
2010 Jan 25
3
Issue using tapply
Hello all, I am trying to use the tapply function to sum some values and change the column names of the resulting vector. I input Emp Et 1 10565 ACC 2 7515 ADM 3 625 AGF 4 6243 CNS 5 12721 EDU 6 3924 FIN 7 18140 HLH 8 3686 INF 9 15841 MFG 10 243 MIN 11 1864 MNG 12 4664 OSV 13 5496 PRF 14 4988 PUB 15 2166 REC 16 2153 REL 17 16082 RTL 18 3582 TRN 19 757 UTL 20 5818 WHL and i want to aggregate certain types based on the following matches Et Em 1 AGF AFREMP 2 MIN MINEMP 3 UTL TCPEMP 4 CNS CONEMP 5 MFG MFGEMP 6...
2007 Feb 19
1
SBS2ke Ad integration
I have a couple of workstations that are perfect candidates for Linux at a client's location. The only think i am shaky on is getting CentOS 4.4 to integrate into the AD domain. Any tips links would be highly appreciated. -- My "Foundation" verse: Isa 54:17 No weapon that is formed against thee shall prosper; and every tongue that shall rise against thee in judgment thou
2008 Dec 05
1
Legend and Main Title positioning
Hi folks, can anybody give me a hint how to solve the following problem? I have several plots in one window like this: layout(matrix(c(1,2,3,4), nrow = 2, byrow = TRUE)) plot(rnorm(100)) plot(rnorm(200)) plot(rnorm(300)) plot(rnorm(400)) Now, I'd like to create a legend below each plot and generate a common title. How can I do that? Antje
2009 Apr 03
1
Error in par(split.screens[[n]]) : parameter "i" in "mfg" is out of range
...g. making my package depend on the graphics package or setting up a virtual device of some type for use in the building process? PS. This is on OS X with the 2.8.1 version of R. -- View this message in context: http://www.nabble.com/Error-in-par%28split.screens--n--%29-%3A-parameter-%22i%22-in-%22mfg%22-is-out-of-range-tp22873439p22873439.html Sent from the R devel mailing list archive at Nabble.com.
2010 Sep 08
6
'par mfrow' and not filling horizontally
...en 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) par(mfrow=c(2,1),mfg=c(1,1),cex=0.5) plot(X0,Y0,pch="+",col="blue",xlim=c(-3,3),ylim=c(-3,3), xlab="X",ylab="Y",main="My Plot",asp=1) par(mfg=c(2,1)) plot(X0,Y0,pch="+",col="blue",xlim=c(-3,3),ylim=c(-3,3), xlab="X",ylab="Y&...
2010 Aug 11
1
Adding points sequentially to multiple graphs in one window (device)
...t can't find a solution. I tried querying the archives, but did not succeed. My goal is to set up two (or more) graphs in one graph window, and then during execution of a sequential algorithm add points sequentially to these graphs. The graphs have different scales / coordinates. I use the par(mfg...) command to switch between graphs. The problem is: This only plots points correctly in the last of the graphs. When I try to add a point to say the first graph, it is incorrect, namely it plots that point relative to the coordinate system of the last graph, not the first graph. How can I avoi...