similar to: Changing default order of plots in par

Displaying 20 results from an estimated 20000 matches similar to: "Changing default order of plots in par"

2011 Aug 16
3
Newbie question - struggling with boxplots
Hopefully I will not be flamed for this on the list, but I am starting out with R and having some trouble with combining plots. I am playing with the famous iris dataset (checking out example dataset in R while reading through Introduction to datamining) What I would like to do is create three graphs (combined boxplots) besides each other for each of the three species (Setosa, Versicolour and
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
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
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.
2005 Apr 06
2
par(mfcol=2, mfrow=3) equivalent for trellis
Dear friends of lattice, I know how to position trellis plots with print(...,split,more=T) or (...position). Sometimes I wish I had something like the old "par(mfcol=2, mfrow=3)" mechanism, where the next free viewport is automatically chosen. I tried fiddling with grid-viewports, but could not find an easy solution. Did I miss something? Dieter Menne
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:
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
2008 Jun 06
1
boxplot changes fontsize of labels
Hi all! So far I learned some R but finilizing my plots so they look publishable seems not to be possible. I set up some boxplots. Everything works well but when I put more then two of them in one plot the labels of the axes appear smaller than the normal font size. > x <- rnorm(30) > y <- rnorm(30) > par(mfrow=c(1,4)) > boxplot(x,y, names=c("horray",
2002 May 25
2
Ploting in for() loop
Hi, Suppose I have a for() loop that draws 6 boxplots as follows: par(mfrow = c(2, 3)) for(i in 2:length(spam.sample)) { boxplot(split(spam.sample[,i], yesno)) } Where spam.sample is a data frame with 7 columns, and I'm interested in plotting column 2 ~ 7 against column 1 (yesno). The boxplots appeared fine, however I'm trying to add a meaningful title, x and y labels to them.
2008 Oct 17
1
use of empty space in split graph device
Hi all, I divide the graphical device into 4 ---mfrow=c(2,2)--- to plot 3 boxplots graph. Thus I get an empty space for the fourth graph. I d'like to place a legend in this space. legend(xxxx) creates a legend in the last graph (the 3rd) I'd like a legend in the empty space. How may I do it? #graph parameter par( fin=c(6,6), #dim graph mai=c(1,1,0.5,0.5) #marges graph
2005 Apr 19
1
controlling the x axis of boxplots
v 2.0.1 (sooooh old!) on Win2k I think I know the answer to this but I can hope ... I have data for continuous variables (measures of residents) by a categorical variable in range (1,22), the units in which they live. I want to plot these data with a pair of boxplots one above another with same x-axis (1,22) using par(mfrow=c(2,1)) and then plotting first for the women then for the men.
2011 Nov 17
1
Small inconsistency with boxplot
Dear R-core team, I think I found a small inconsistency in the boxplot function. I don't want to post it as a bug since I'm not sure this might be considered as one according to the FAQ --- and this is not a major problem. Don't hesitate to tell me if I'm wrong. If you try to do a boxplot on a matrix and set the "at" argument to some vector different from 1:n, n is the
2012 Sep 02
2
Impact of cex changing as a function of mfrow
R 2.15.1 OS X (MLion) Colleagues, I am aware that changes in mfrow / mfcol in par() affect cex (from help: In a layout with exactly two rows and columns the base value of ?"cex"? is reduced by a factor of 0.83: if there are three or more of either rows or columns, the reduction factor is 0.66). I generate a multipage PDF in which mfrow varies such that cex is impacted. This affect
2012 Feb 20
2
overlay of two sets of boxplots
Hello, I am new to R and currently have the following problem: I have successfully loaded my data in R which consists of two numeric columns (LI_F and female) and one character column (Strain). So far I can plot two different set of boxplots for each of the numeric columns plotted by the groups of the character column and the commands look like that: boxplot(LI_F~Strain, ylab="LI_F",
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>)
2012 Jul 26
3
Adjust the position of main in par(mfrow)
hey guys I want two plots in one window with an overall title and with individual titles for each plots. my code: par(mfrow=c(2,1)) bp_dirverq1=boxplot(dirverq1, col="orange",horizontal=TRUE, main="Q1 2012",cex.main=0.7) bp_dirverq2=boxplot(dirverq2, col="orange",horizontal=TRUE, main="Q2 2012",cex.main=0.7) title("Direktveranlagung in
2013 Mar 21
2
Displaying median value over the horizontal(median)line in the boxplot
Hi, set.seed(45) test1<-data.frame(columnA=rnorm(7,45),columnB=rnorm(7,10)) #used an example probably similar to your actual data apply(test1,2,function(x) sprintf("%.1f",median(x))) #columnA columnB # "44.5"? "10.2" par(mfrow=c(1,2)) lapply(test1,function(x) {b<-
2008 Nov 13
1
Boxplots with different variables and different ranges in R
Dear all, I am trying to make boxplots in one diagram but it is not working. Actually I have a large dataset, around 35 water quality variables with different units and of course in different ranges (some are orders of magnitude bigger than others). I want to produce one diagram with all the boxplots of the variables of my dataset. I tried these series of commands: >oldpar <-
2012 Mar 12
2
How to create interrupted boxplot
Hello, I have created two boxplots with following R code. There is one outlier in B group. The outlier is 33. But the all other data are between 0 to 4. How can I skip y-axis around 5 to 25, and expand 0-4 for this case. Also I want keep the outlier in my boxplot. I want my boxplot look like the second one, keep the outlier, and make an interrupt of y-axis from 5 to 25. Thanks, Jianghong
2005 Oct 28
1
multiple boxplots
Hello, I want to plot 3 boxplots [ par(mfrow=c(3,1)) ] but the first one has 8 groups, the 2nd has 7 and the third has 6. But I the groups to line up: 1 2 3 4 5 6 7 8 2 3 4 5 6 7 8 3 4 5 6 7 8 where the numbers actually refer to years. I suspect I have to manipulate the function bxp(). Is there a relatively simple way to do this? Thanks for any help. Jeff Breiwick NMFS, Seattle