Displaying 20 results from an estimated 2000 matches similar to: "self-split plot on multiple device"
2001 Jan 10
1
optmizing with monotone stepfunctions?
Before re-inventing the wheel I would like to ask: does anyone know about
an optimizer in R which can reliably identify which value of X (Xopt) leads
to Y (Yopt) closest to Ytarget in
Y <- MonotoneStepFun(X)
optionally with the restriction that Yopt <= Ytarget
(at least if any Y <= Ytarget, otherwise any Yopt > Ytarget would be the
preferred answer)
If none is known, I will write
2010 Jan 20
2
legend in multiple plot
Dear R users,
I'm making multiple plots within the same pdf page (par(mfcol = c(5,1)), and
want a legend for this at the bottom of all the plots. From previous mails
it has been suggested to use par(xpd=TRUE), increase the margin at the last
plot, and then draw the legend. However, when I do this, the last plot gets
smaller with the same amount I increase the margin with.
The problem seems to
2002 Nov 04
3
write table and dinnames
I would write in tab-text file a table like this one:
TAB colname1 TAB colname2 TAB TAB... colnameN
rowname1 # # #
rowname2 # # #
rownameM # # #
then I wrote something like:
mymatrix <- matrix(nrow=M,ncol=N,byrow=T)
rownames(mymatrix) <- chvector1
colnames(mymatrix) <- chvector2
2017 Jun 20
2
Help with the plot function
Hi, Bert:
Yes, I studied the functions you suggested, but I didn't get to adapt it to
my example whose reproducible code I sent in my first email.
Here it is the code of the functions I studies:
## par
par(mfrow = c(2, 3))
par(cex = 0.6)
par(mar = c(3, 3, 0, 0), oma = c(1, 1, 1, 1))
for (i in 1:6) {
plot(1, 1, type = "n")
mtext(letters[i], side = 3, line = -1, adj = 0.1, cex =
2017 Jun 20
2
Help with the plot function
I'm trying to recreate a graph similar to the last one found on this link:
https://sites.ualberta.ca/~lkgray/uploads/7/3/6/2/7362679/6c_-_line_plots_with_error_bars.pdf
The difference is that I want budbreak on the top, and the temperatures at
the bottom.
I tried to set par before each graph and include lines, with no avail.
Thanks, Bert.
Andre
On Mon, Jun 19, 2017 at 7:41 PM, Bert Gunter
2017 Jun 20
0
Help with the plot function
1. Did you study the functions (esp. ?layout) to which I referred you?
2. Show us your code! -- "to no avail" is meaningless!
-- Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Mon, Jun 19, 2017 at 7:01 PM, Andr? Luis Neves
2002 Nov 06
2
chisq.test on a matrix
Hello!
What kind of calculation perform 'chisq.test', if its argument is a matrix?
Thanks for any suggestion!
------------------------------------------------------------
Sincerely yours.
Dr. Alessandro Semeria Tel. +39 544 536811
Models and Simulation Lab of Fax. +39 544
538663
The Environment Research Center - Montecatini
2002 Dec 18
2
gene ontology association
Hello! I don't know if there is some R-package able
to associate ontology to a long list of GeneBank Name (a txt-tab file or
an XML file), i.e.
I would as output a formatted file with 4 columns (1:GeneBank Name
2,3,4:ontology).
I know that I have to perform a mapping of genes, I got a look on
AnnBuilder pkg,
but I 've not idea from where to start.
Some suggestion? Thanks in advance!
2017 Jun 20
1
Help with the plot function
Dear all,
I found the last example of this link (
https://sites.ualberta.ca/~lkgray/uploads/7/3/6/2/7362679/6c_-_line_plots_with_error_bars.pdf)
very similar to the one I need to make for my paper, and I think I got what
I wanted by applying some of the suggestions of this mail list.
Here it is the code I devised (maybe there will be further improvements
from the list):
YEAR <- c(1996 ,
2007 Aug 16
6
several plots on several pages
Hi
> version
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 2
minor 5.1
year 2007
month 06
day 27
svn rev 42083
language R
version.string R version 2.5.1 (2007-06-27)
I want to create a pdf withe three graphs on a page and with two pages:
2006 May 12
4
Title of page with multiple plots
I want to place four plots on a page, and I would like to have all four
plots share a common title. I have tried the following code, but the
title is centered over the fourth graph and not centered across all four
plots. Does anyone have any suggestions?
R 2.1.1
windows xp
oldpar<-par(mfcol =c(1,4),ask=TRUE)
plot(p,varp)
plot(p,SEp)
plot(p,CVp)
plot(p,ppval)
title(paste("P and 95%CI
2017 Jun 20
0
Help with the plot function
Hi
You are quite close. With slight modification of your code:
par(mfrow = c(2, 1))
par(cex = 0.6)
par(mar = c(0, 0, 0, 0), oma = c(4, 4, 0.5, 0.5))
par(tcl = -0.25)
par(mgp = c(2, 0.6, 0))
plot(BUD~YEAR, type="o", ann=F, axes=F, pch=19, ylim=c(60,100),data=g1)
axis(4, las=2)
mtext("Bud Break (Julian Day)", side=4, padj=4)
arrows(g1$YEAR,g1$BUD, g1$YEAR,g1$BUD + g1$BUD_SE,
2002 Oct 28
3
create an object list in a loop
Hi! Probably I perform this question because I did'nt still understand the
R-philosophy.
I have to build many matrix, with different dimensions, and I would to
assign them a
same 'prefix' name, i.e. "aval", but, obviuosly different suffix, something
like:
for (i in 1:n) {
aval%i% <- matrix(scan(data....),nrow=nr[i],ncol=nc[i]
...
}
where "%i%"
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
2011 Nov 10
3
Title for a group of plots?
I can get multiple plots on a page like:
op <- par(mfcol = c(3, 1))
What I was wondering is if there is a way to have a title for the whole
page? I can specify the title for each individual plot like:
plot(xxx, main=".")
But I would like a 'title' for the group of plots. Is this possible?
Thank you.
Kevin
[[alternative HTML version deleted]]
2006 Sep 21
1
Problems with making a complex graphic
En innebygd og tegnsett-uspesifisert tekst ble skilt ut...
Navn: ikke tilgjengelig
Nettadresse: https://stat.ethz.ch/pipermail/r-help/attachments/20060921/b479a8df/attachment.ksh
2011 Nov 15
1
Plot alignment with mtext
I would like the text plotted with 'mtext' to be alighned like it is for
printing on the console. Here is what I have:
> print(emt)
ME RMSE MAE
MPE MAPE MASE
original -1.034568e+07 1.097695e+08 2.433160e+07 -31.30554 37.47713
1.5100050
xreg 1.561235e+01 2.008599e+03 9.089473e+02 267.05490 280.66734
2012 Dec 13
3
Combined Marimekko/heatmap
Hi all,
I'm trying to figure out a way to create a data graphic that I haven't ever seen an example of before, but hopefully there's an R package out there for it. The idea is to essentially create a heatmap, but to allow each column and/or row to be a different width, rather than having uniform column and row height. This is sort of like a Marimekko chart in appearance, except that
2001 Apr 27
2
Plotting multiple figures
Morning,
I've plotted multiple figures on one page, setup the page with n2mfrow.
This works fine, but I can't figure out how to change to a specific plot
(e.g. first row, second column) to add some details.
Thanks, Sven
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
2009 Dec 07
1
multiple plots using summary in rms package
Dear All,
I wonder if someone can point me in the right direction here. I'm working
with the rms library, R 2.9.2 under Windows XP.
I'm trying to arrange two plots side by side for a colleague. mfrow or
mfcol do not seem to work, however, so I am obviously missing something
important. I know that there have been changes in the graphics from Design
to rms, but am just not sure where to