search for: multiplot

Displaying 20 results from an estimated 24 matches for "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...
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 context: http://r.789695.n4.nabble.com/Adding-text-to-a-multiplot-via-mfrow-tp3065850p3065850.html Sent from the R help mailing list archive at Nabble...
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,...
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...
1998 Mar 16
1
R-beta: multiplot figure problems
...2 cm wide by 4 cm high. ( I am basing this on 1)R Graphics window 2) saved figure to postscript file and it is this way too). The space does not appear to be used very efficiently: there is a big empty space at the top and in between the two plots. Please tell me how to get the two plots in the multiplot figure to be square. Thanks very much for any help. Bill Simpson -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in t...
2011 Dec 07
1
Help! I couldn't put multiple qplot on the same page...
...;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: http://stackoverflow.com/questions/1249548/side-by-side-plots-with-ggplot2-in-r my.multiplot <- function(..., plotlist=NULL, cols) { require(grid) # Make a list from the ... arguments and plotlist plots <- c(list(...), plotlist) numPlots = length(plots) # Make the panel plotCols = cols # Number of columns of plots plotRows = cei...
2012 May 12
2
ggplot simple question.
...7952499048 NM_001039723 1.0759493671 1.2315789474 0.8666666667 1.1142857143 0.9428011471 NM_001042605 0.9897435897 0.8870431894 1.1038062284 0.7407407407 0.744530664 NM_001048207 1.0070422535 0.9319727891 0.9015151515 0.8296438884 0.7290217712 I want to plot each row in a single graph and then use multiplot to put them all together in a single graph. How do you plot the rows? -- View this message in context: http://r.789695.n4.nabble.com/ggplot-simple-question-tp4628640.html Sent from the R help mailing list archive at Nabble.com.
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 .RData and .Rhistory files and move to...
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 versio...
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 mailing...
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...
2008 Jan 14
1
background colour
...there was no error-message, this has no effect on the background of this singe plot. I found a meaningfull answer I have found here: http://finzi.psych.upenn.edu/R/Rhelp02a/archive/21384.html but I was wondering, whether there is a more easy and explicit way to do it directly for a given plot in a multiplot environment. Are there possibilities to do it specifically for the complete figure region or solely for the complete plot region? Thank you for your help Daniel
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)
...nger coincide on the right hand side, whereas the left hand side is perfect. Output to other devices such as pdf is perfect. Possibly this reflects a different scaling being applied when points() or lines() are selected. One reason I found this is that I use a number of scripts in R to plot and multiplot data sets from x-ray and neutron powder diffraction analysis (and Rietveld fitting of this data in particularl). In these points() is used to plot the data and lines() to plot the refinement from the analysis. After upgrading I found these were misaligned. The example was created to mimic the p...
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],"=" )) m...
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)
...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: > > > > I generate a multiplot by : > > > > X11() ## making the devise I want to save to file (num) > > par(mfow=c(3,3)) > > > > par(mfg=c(1,1,3,3)) > > plot(........ > > ... > > .. > > . > > > > > > Then I want to print it to file wit specif...