Displaying 20 results from an estimated 384 matches for "omas".
Did you mean:
tomas
2000 Feb 02
1
Outer margin (oma) settings for pairs()
I propose the following small changes to pairs.default.
The point is to allow control of the outer margin settings,
so that there is for example room for legends.
[Note also the issue re the setting of par()$usr on exit]
----------------------------------------------------------------
(1) Replace
function (x, labels, panel = points, main = NULL, font.main =
par("font.main"),
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 documentation indicating that an
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(x))
plot(x,sin(1/x))
title(main="My Test", outer=TRUE, sub="my subtitle")
2009 Mar 17
1
Need a little help setting the upper median using "layout"...
The code I'm using is shown below.
I would like to have a larger median at the top of the plot so that I can show the entirity of "title_text".
Several times I tried messing with "par(mar", 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
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 scrubbed...
URL:
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
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
2007 Aug 28
2
Limiting size of pairs plots
Dear R-users,
I would like to add a legend at the bottom of pairs plots (it's my first
use of this function). With the plot function, I usually add some
additional space at the bottom when I define the size of the graphical
device (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
2008 Mar 04
1
Difficulty labeling plot axis when "mar" and "oma" are set
Dear all,
Though labeling the x and y axis in the plot command seems to be straight
forward, I can not get it to work if I do the following:
## Creating example data
edata <- c(1,2,1,2)
edata <- matrix(edata, 2, 2, byrow = T)
colnames(edata) <- c("a", "b")
edata <- data.frame(edata)
## plot data
par(mfrow<- c(1,2))
plot(edata$a, edata$b, xlab =
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='')
2008 Jan 26
4
Games for Intel graphics
Hi, I'm new in this list.
As the title explains, I would like know which game that work in wine,
with intel graphics. I've experinced that games like Heroes of Might and
Magic III won't work, but a game like Soldier of Fortune, which is a
newer game, works.
If you know of a game that works in wine, please try to list them here,
with additional tweaks as to how you got it to work,
2006 Aug 04
2
expression() - Superscript in y-axis, keeping line break in string
I've tried several different 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,
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,
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
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
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")
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
2012 Mar 13
1
size of graphs when using multiple figures by row
Hi all,
I have a basic question 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