Displaying 20 results from an estimated 24 matches for "multiplots".
Did you mean:
multiplot
2006 May 29
2
line over multiplot
Dear Listmembers,
I do have a multiplot with 1 row and 4 columns (4 scatter plots with
same x- and y-axe plotted in one row). I would like to draw a horizontal
line across the whole multiplot at a certain y-value. Unfortunately the
normal abline command stops between the plot.
I hope my problem is clear and there is somebody who can help me
Thanks in advance
Thomas H.
2010 Nov 30
2
Adding text to a multiplot (via mfrow)
Hi
I have created a set of 4 barplots using mfrow=c(2,2) and need to
add a heading that spans the margin of the bottom 2 graphs.
I have used locator(1) to find the coordinates but I dont seem to be able to
add text anywhere on this multiplot.
I would be really grateful if anyone could tell me if there is a simple
method of achieving this.
Many thanks
Sam Jones
--
View this message in
1998 Mar 26
1
R-beta: multiplot using fig
I followed Bill Venables's suggestion and tried to make a multiplot figure
with fig (using R .62).
> x<-rnorm(100)
> y<-rnorm(100)
> x11()
> par(fig=c(0,2/3,0,1))
> plot(x,y)
> par(fig=c(2/3,1,0,1))
> qqnorm(x)
> postscript(file="twoplot.ps")
> par(fig=c(0,2/3,0,1))
> plot(x,y)
> par(fig=c(2/3,1,0,1))
> qqnorm(x)
However
2009 Apr 17
1
multiplot plot spacing and text strip
Hi everyone,
I have a certain requirement and I'm not sure what to do.I need to reduce
the spacing between plots in a multiplot. Make them really close together
such that they almost touch.
Also, I need to add a rectangular strip under my plot(very close to it) such
that the strip contains some text describing it.
Any help is appreciated
--
Rajesh.J
[[alternative HTML version deleted]]
2004 Oct 25
2
par("usr") trouble in multiplot axis scaling
Hello,
I'm blotting a series of growth curves into a multiplot environment
created with layout().
since I want the four plots to be easily visually comparable, I do the
following:
#first plot
plot(x,y,<stuff>)
standarduser<-par()$usr
...
<some fitting>
...
lines(spline(x, <fitted_equation>))
#everything all right till here
# second plot
plot(x,y,<stuff>)
1998 Mar 16
1
R-beta: multiplot figure problems
I wanted to have a figure consisting of 2 square plots, one above the
other (2 rows, 1 column).
I am using 61.1 on Linux.
I did:
> x1<-rnorm(100)
> y1<-rnorm(100)
> par(mfcol=c(2,1))
> plot(x1,y1,pty="s",mfg=c(1,1,2,1))
> plot(x1,y1,pty="s",mfg=c(2,1,2,1))
The resulting figure consists of two plots, one above each other, BUT they
are extremely squished in
2011 Dec 07
1
Help! I couldn't put multiple qplot on the same page...
Hi all,
I am stuck at ploting multiple graphs on one page. I don't why it doesn't work.
All the 6 plots are either exactly the same, or they simply don't plot
at all. I made sure that in each iteration the "datasub" and
"factorsub" are different ...
Could you please help me?
Thanks a lot!
I did my homework and followed the following advice:
2012 May 12
2
ggplot simple question.
I have a matrix like this
Name 1 2
3 4 5
NM_001039514 1.033557047 0.7469879518 0.9004524887 0.8613861386 0.7952499048
NM_001039723 1.0759493671 1.2315789474 0.8666666667 1.1142857143
0.9428011471
NM_001042605 0.9897435897 0.8870431894
2000 Jun 29
3
Overal plot title after mfrow and .Rhistory questions.
Hello everyone,
I had a few questions that I have not been able to figure out despite a lot of
reading.
1) Adding a title to a multiplot figure:
If I plot multiple plots with
>par(mfrow=c(2,6))
how do I add an overall title to the figure, not the individual plots?
2) Saving histories on the fly:
Is there a .Rhistory equivalent to
>save.image()
? I would like to be able to save the
2009 Jul 01
1
abline going out of bounds
Hi,
I have a multiplot of 6 rows and 1 column.I need to draw vertical lines in
each plot.However when I use abline(v=locator(1)$x) in some plots the line
only comes for half the box and it goes beyond the box in others.I suspect
this has something to do with the margins.any help?
--
Rajesh.J
[[alternative HTML version deleted]]
1997 Nov 10
2
R-alpha: text outside plots
When text() is used to write a string in the margin of a plot (for
example, between plots on a multiplot screen), the words appear on the
window but not when a postscript file is produced. In fact, they are
in the file, but clipped. This should be made consistent, preferably
so that they appear in both.
Jim
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
r-devel
2013 Mar 09
1
Changing default order of plots in par
Hi,
I wanted to change the order of how the plots appear in a multiplot
scenario. For example, in the code below:
#####
pdf('test.pdf',width=8,height=8)
par(mfrow = c(2,2))
for(i in 1:2){
v1 <- sample(1:1000,50)
v2 <- sample(1:1000,50)
mat <- cbind(v1,v2)
plot(v1,v2)
boxplot(mat)
}
dev.off()
#######
The plot ordering is that the first row gets filled in first,
2008 Jan 14
1
background colour
Dear list,
I am using R 2.6 on a Windows XP machine.
I divided my device window and tried to set the backgroundcolor for each plot region/figure region separately. This seems not possible?? A simple example:
# create random numbers
a <- rnorm(100)
# divide device window
par(mfrow=c(1,2))
# set the backgroundcolour to "red"
# this always affect the total device
2012 Nov 08
1
A panel of contour plots through a iteration process
Dear all,
as you can see from the code I want to create *a panel of 11 contour
plots through
a iteration process*. I found a thread that address the issue of plotting
many contour.plots in the same device, but it does not address my problem!
I emphasize that the 11 contour plots must be appeared in the same device
through an iteration process and NOT individually!
par(mfrow=c(4,3)) # I want them
2007 Oct 18
5
Secondary Y axis title
I have the following R code to create a plot with two y axes. I am
essentially trying to
plot a price series with a volume series on the same graph. (i.e. to
compare price with volume). I can label the first
y axis successfully, but the problem is in labeling the 2nd y-axis.
Essentially, the
label never appears. It seems as though there is not enough margin
on the right hand
side of
2003 Nov 24
4
R postscript generation error (lines versus points) (PR#5285)
Full_Name: Stephen Harker
Version: 1.80
OS: linux (Yellow Dog 3.0 on ppc)
Submission from: (NULL) (130.194.13.101)
In creating a postscript file from a set of data in which the points are
plotted
using `points()' and lines drawn using `lines()' I have found since upgrading
from R version 1.4? to 1.8 that the two sets do not coinicide completely. This
is best illustrated by a simple
1999 Jan 19
1
r-help[Q]: use of `expression' in annotation
Dear r-helpers,
I have some multiplot figures that I would like to annotate. To each plot
frame I would like to add the associated correlation coefficients. To do
so, I believe I need to understand the usage of `expression' better.
The following is a good start.
petstring <- expression(paste(r[rho*p],"=" ))
mtext(petstring, line=0.3, adj=0.1, cex=0.8)
My question is,
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 Jan 30
1
Equivalent of Hold On MatLab Command
Does R have a graphic command equivalent of MatLab Hold On ?
I am trying to sabve on a pdf file a composite drawing. I first declare the canvas size, then I define the layout, finally I generate the 4 plots according to layout order. Eventually I close the pdf file (dev.off()).
The resulting PDF file contains 2 pages. The first one shows only the layout. The second one shows the whole
composite
2004 Aug 11
0
Re Re: R 1.9.1 (PR#7158)
paul murrell writes:
> Hi
>
>
> > Hi
> >
> > I am not to familier with R
> >
> > The following problem are observed on 1.9.1 but not on 1.9.0.
> > Both R distribution installed from source code.
> >
> > System:
> >
> > Mac os X 10.3
> > Xdarwin 4.4 (xfree)
> >
> >
> > Problem:
>