search for: oma

Displaying 20 results from an estimated 384 matches for "oma".

Did you mean: dma
2000 Feb 02
1
Outer margin (oma) settings for pairs()
...------- (1) Replace function (x, labels, panel = points, main = NULL, font.main = par("font.main"), cex.main = par("cex.main"), ...) with: function (x, labels, panel = points, main = NULL, font.main = par("font.main"), cex.main = par("cex.main"), oma=NULL, ...) (i. e. add the named parameter oma) ---------------------------------------------------------------- (2) Replace lines 16-19, i. e. oma <- c(4, 4, 4, 4) if (!is.null(main)) oma[3] <- 6 opar <- par(mfrow = c(nc, nc), mar = rep(0.5, 4), oma = oma) with the fo...
2005 Oct 25
1
pairs(oma) warnings (PR#8252)
Unlike R 2.1.1, version 2.2.0 generates warnings when an 'oma' argument as passed to pairs(): A <- rnorm(100) B <- rnorm(100) pairs(cbind(A,B)) # no warning pairs(cbind(A,B), oma=c(6,8,10,12)) # warnings in R 2.2.0 I think pairs() should draw the plot quietly, without warnings. Can't see anything in the documentat...
2005 Sep 12
1
oma and sub-title
I want to add an outer subtitle to my 2x3-plot, but it's distance to the lowest plots is very high: 6 lines or more?! If I choose oma=c(5,0,2,0), it lies out of the plotting region and disapprears. Obviously I make something wrong here. Help appreciated, Thomas x=seq(from=1, to=3.5, length=100) par(mfrow = c(2, 3), oma=c(6,0,2,0)) ## oma=c(5,0,2,0) will not work?! plot(x,x^2) plot(x,sin(x)) plot(x,exp(x)) plot(x,1/x) plot(x,log(...
2009 Mar 17
1
Need a little help setting the upper median using "layout"...
...but that seemed to make matters worse. By any chance can anyone provide any insight as to the best way to increase the top/upper/northern margin, so the entirity of the title is visible? Thank you again for any help that can be provided. x <- rnorm(10000) # op <- par(mar=c(2,2,2,2), oma=c(0,0,0,0)+.8) op <- par(mar=c(2, 2, 2, 2), oma=c(0,0,0,0)+.8) layout(matrix(c(2, 2, 2, 3, 3, 3, 1, 1, 1, 3, 3, 3, 1, 1, 1, 3, 3, 3, 1, 1, 1, 3, 3, 3), 4, 6, byrow=TRUE)) # 2 2 2 3 3 3 # 1 1 1 3 3 3 # 1 1 1 3 3 3 # 1 1...
2010 Apr 18
1
Slightly OT: OMA DM Solution
Hi, anyone knows an open OMA DM tool that would be able to configure Nokia phones (mainly the sip-stuff of the e-series) for use with asterisk? Anything open i could find was the device manager from funambol, which was last updated in 2006 :-( Regards, Jay -------------- next part -------------- An HTML attachment was scrub...
2007 May 22
4
Legend outside plotting area
Hi, I have been trying many of the suggested options to place a legend outside plotting area, including something like this: par(xpd=T, oma=par()$oma+c(4.5,0,1.5,0),mar=par()$mar+c(1,0,1,0) But the aspect of the four plots gets compromised when I change the margin settings. I cannot use mtext because I need to use colors for the text. I tried layout, but wouldn't let me include the legend, only plots. I would appreciate v...
2007 Apr 27
1
Write text in the
Hey Felix, So basically what you want is a figure containing a block of four plots, with a main title for the figure? If that's the case then something like this should work: # BEGIN CODE # par(oma=c(0,0,1,0), mfrow=c(2,2)) for(i in 1:4){ plot(NA,xlim=range(0,10),ylim=range(-5,5)) title(paste("Plot ",i,sep="")) } par(mfrow=c(1,1), oma=c(0,0,1,0)) mtext("Main Title", 3, outer = TRUE, cex = par("cex.main")) #?END CODE # You can play about with the marg...
2007 Aug 28
2
Limiting size of pairs plots
...vice (using mar); grid functions then allows me to draw my legend as I want. Unfortunatley, this technique does not seem to work with the pairs function as the generated plots use all the available space on the device (see below). I guess I am missing a key argument... my attempts to modify the oma, mar, usr arguments were unsuccesfull, and I could not find any helpful threads on the archives. As usual, any advice would be greatly appreciated Sebastien pdf(file="C:/test.pdf", width=6, height= 6 + 0.2*6) par(mar=c(5 + 6,4,4,2)+0.1) pairs(iris[1:4], main = "Anderson's...
2008 Mar 04
1
Difficulty labeling plot axis when "mar" and "oma" are set
...quot;) edata <- data.frame(edata) ## plot data par(mfrow<- c(1,2)) plot(edata$a, edata$b, xlab = "a", ylab = "b") ## Note that the x and y axis are labled plot(edata$a, edata$b, xlab = "a", ylab = "b") par(mfrow=c(1,2), mar = c(0,0,0,0), oma = c(3,3,3,3)) plot(edata$a, edata$b, xlab = "a", ylab = "b") ## Note that the x and y axis are not labled though x and ylab are set plot(edata$a, edata$b, xlab = "a", ylab = "b", yaxt = "n") Does anybody has an idea why this is Thanks for t...
2010 Nov 05
1
__Legend_para_varios_gr�ficos
Hola a todos, en efecto, lo crucial es el new, he utilizado estas líneas para mi código: par(new=T, mfrow=c(1,1), mar=c(0,4,2,2), oma=c(1,1,0,1)) plot(-1,type="n",axes=F,xlab='',ylab='') legend("top",legend=c("N(0,1)","t(df=3)","Cauchy","t(df=1)"),fill=c("green","red","orange","steelblue"),cex=0.5) y ya aparece la...
2008 Jan 26
4
Games for Intel graphics
...got it to work, plus the usual info like: driver version, chipset, mesa version (the 3d library which wine (or x.org?) links to) and last, but not least the wine version. (maybe some of this is overkill, but I think it can be of necessity somewhere) I hope I didn't ask for too much. Endre Oma
2006 Aug 04
2
expression() - Superscript in y-axis, keeping line break in string
...ferent ways to accomplish this, but as yet to no avail. My y-axis for a plot has a rather long label, and thus I have been using "/n" to break it into two lines. However, to make it technically correct for publication, I also need to use superscript in the label. For example: par(oma=c(0,0,2,0),mar=c(5,6,0.25,2),lheight=1) plot(1:10, ylab="14C-glyphosate line1\n line2") will provide the text in two lines as I would like it. However, I am trying to keep those same line breaks when using expression() to get my superscript number. This will not work, as...
2012 Apr 24
2
Positioning main title
Hello, I have a barplot where each row has quite long texts and I have used "par" to make some room in the left: par(mar=c(0, 17, 3, 0), oma=c(0, 0, 0, 0)) barplot2(prueba, main = l, col=colores, horiz=TRUE,las=1, cex.names=.7) My problem is that main text appears justified to the plot. I want to put it in the middle of the image, and find a way to sort it out with mtex par(mar=c(0, 17, 3, 0), oma=c(0, 0, 0, 0)) barplot2(prueba, col...
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 (making an otherwise superfluous call to &qu...
2010 Nov 24
1
Par() Variables, Timing, and Resizing
Hello, R-help, Although this is my first post to the mailing list, I have been a subscriber for a while now, and have found all of the posts to be very informative in my quest to attempt to master R. Thank you for that in advance. This question involves the use of the par() variables pin, oma, and mar to resize "sub-plots" in an output window. I am aware from ?plot that the use of these variables is hard to predict due to trying to change the same underlying variables in different ways and that "those last in the alphabet will win." However, I would still like to...
2009 Nov 21
4
title problem
Hi, I got problem in using title function to create a title for multiple plots presented together by par. As can be seen in the attached file, the title is displayed truncated and the subtitle doesn't get displayed. Here is the code: par(mfrow = c(1,2)) plot(c(1,2,3), c(9,8,7)) plot(c(1,2,3), c(9,8,7)) title(main = "Main title", sub ="Sub title",outer = TRUE,
2003 Jan 22
1
self-split plot on multiple device
Hello! I would plot more than 10 (this number is always different) graphics on a figure with layout like 'mfrow=c(4,2)'. There is some existing function able to open the right number of device if number of graphics is done or I have to build it myself with some 'IF.....ELSE.....'? Thanks. A.S. ----------------------------
2010 Nov 25
1
overlap cdf plots and add colors and etc
Hi r-users, I would like to overlap 2 ecdf plots.  I tried this below and it gives me two plots of ecdf but just both just in black. par(mar=c(4,4,2,1.2),oma=c(0,0,0,0),xaxs="i", yaxs="i") plot(ecdf(datobs)) lines(ecdf(gam_sum_gen)) Then I try to add colors etc and also the legend but fail. par(mar=c(4,4,2,1.2),oma=c(0,0,0,0),xaxs="i", yaxs="i") plot(ecdf(datobs),main ="CDF of the sum for winter season-Hum...
2003 Jan 17
2
Re: Universal legend in plot
Dear R-users: I asked a question on how I can have a universal legend in a plot and received the following result. I tried using "layout" but I can't seem to work on the "empty" plot (where I have to have the legend). I tried "oma" but I couldn't improve the quality of the plot, and that I didn't know how to specify all the line types using the keyboard, infact it is line type 4 (I had _._ and it didn't look nice). # I am trying to create a graph with 6 panels, but would like to have a universal legend...
2012 Mar 13
1
size of graphs when using multiple figures by row
...estion concerning graphs in R. I?m using the par() function and I?m working with multiple figures by row (mfrow) but my the hight of my figures become compressed. I have 4 rows and 2 columns (because I want to plot 8 histograms (freq = FALSE ) on it. I know I can adapt my margins with for example ?oma? and ?mai? but I don?t know how to choose the size of the figure? I read something about pin. That this should go about ?the current plot dimensions, (width, height), in inches. But I don?t know which values I should use. Because I always get the remark ?plot region too large?. I would like to hav...