Displaying 20 results from an estimated 10000 matches similar to: "layout question"
2006 Sep 15
3
graphics and 'layout' question
Hello,
I got stuck with a graphics question: I've 3 figures that I present on a single page (window) via 'layout'. The layout is
layout(matrix(c(1,1,2,3), 2, 2, byrow=TRUE));
so that the frst plot spans the both columns in row one. Now I'd like to magnify the fist figure so that it takes 20% more vertical space (i.e. more space for the y-axis). How would I do this in R?
2006 Feb 15
2
common title for graphs in a (1x2) layout
Dear all,
Many thanks for the help suggesting the use of "layout" cmd.
How to insert a title in a 1x2 layout? The title is related to both graphs.
I looked for it in help, unsuccessfully.
Thanks in advance,
Rodrigo.
my reproductible code:
----------------------------------------------------------------------
def.par <- par(no.readonly = TRUE)
nf <- layout(matrix(c(1,2),
2001 Sep 24
1
Printing Central European characters
Dear R-users,
I have problems with printing Central European (CE) characters
(e.g. {\H o} and {\H u}) in graphics made by R.
After executing the following code I can see the CE characters with gv
on my screen, but I cannot print them on a postscript printer.
> postscript(file="proba.ps",enc="ISOLatin2.enc")
> plot(0:15,0:15,type="n")
> grid(15,15,lty=1)
2002 Aug 08
2
R graphics and dpi
Is there a way to tell at what dpi R generates graphics at? I need to
generate 600 dpi graphics for an article.
-roger
_______________________________
UCLA Department of Statistics
rpeng at stat.ucla.edu
http://www.stat.ucla.edu/~rpeng
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
2003 Oct 12
1
plot/ layout/ overlay problem
System info:
Red Hat 9.0
R Version 1.7.0
ESS 5.1.21
Emacs 21.2.1
-------------------
Colleagues
I have a small problem with positioning overlays using layout.
## Purpose: to plot temperature and salinity profiles
## as a multipanel figure, and
## overlay the the mixed
## layer depths.
Here is the code skeleton:
--------------------
nf <-
2006 Sep 28
3
complex plots using layout()
Dear r-help,
I am trying to plot several scatter plots with marginal histograms on
one page. Ideally, a page is equally divided into 4 figure regions.
Within each figure region, a scatter plot with marginal histograms will
be plotted.
I followed Dr. Paul Murrell's code released online to successfully plot
the scatter plot with marginal histograms. The code applies "layout()"
to
2010 Oct 12
1
graphics layout
Folks,
I'm battling the layout() functionality in graphics, and getting a bit mixed up. I'd like to create subscreens like so:
_________ _________
| | |
| 1 | 2 |
|_________|________ |
| | |
| 3 | 4 |
|_________|_________|
| |____6____|
| 5 |____7____|
|_________|____8____|
Note that subscreens 1:5 are the same
2003 Apr 16
2
layout.show()
Dear r-help,
Please, be so kind, tell me what does mean the parameter of layout.show()?
I use R 1.6.2... Windows NT 4.0
Unfortunately I cannot understand phrases from the help
"n: number of figures to plot."
what figures?
"`layout.show(n)' plots (part of) the current layout, namely the
outlines of the next `n' figures."
what figures?
2006 Oct 16
1
plots: layout + subtitles
Hello,
I want to create a figure that consists of a collection of 16 graphs on
4 rows. I am using
nf <- layout(matrix(seq(1,16), 4,4, byrow=TRUE), respect=TRUE)
boxplot(...
to create the layout of my 16 graphs. It works really well. However, I'd
like to add sub-titles that would apply to each row of 4 graphs. More
specifically, I'd like to have something like:
subtitle 1
2005 Jun 09
3
plot(corresp(data)...)
hi,
My code:
data<-matrix(data=c(0.425,0.5,0.75,0.125,0.25,0.475,0.375,0.25,0.625,0.5,0.1,0.125,0,0.25,0.25),nrow=3,ncol=5,byrow=TRUE, dimnames=list(c("Good","Medium","Bad"),c("Content","Logistic","Trainer","Supply","User contribution")))
plot(corresp(data,nf=2),xlim=c(-1,1),ylim=c(-1,1));
The plot is
2000 Oct 16
2
Crash while R111 install
Hello,
I try to install the R111 version for few days on my PC (on Windows NT),
and every time the same problem :
I start the rwin.exe application and a couple of seconds later, the
install failed, and my PC is down. I must then swich it
down and restart a new session.
If someone has some help ...
Thanks
--
Isabelle Zabalza-Mezghani Tel : 01 47 52 61 99
Institut Fran?ais du P?trole
2010 Jun 17
2
Multiple plots in a single page and stripplot()
I want to make a 2x2 plot on a single page, using stripplot() and boxplot().
I tried the following two alternatives with mfrow() and layout(), but none
of them worked.
library(lattice)
par(mfrow=c(2,2))
boxplot(X1 ~ Y, data=tst1, horizontal=T, las=1)
boxplot(X2 ~ Y, data=tst1, horizontal=T, las=1)
stripplot(Y ~ X1, data=tst1)
stripplot(Y ~ X2, data=tst1)
par(mfrow=c(1,1))
nf <-
2009 Jan 28
2
help with plot layout
It takes a lot of sweat to generate a composite plot with R ... sigh.
I though I was almost done when I met the umpteenth hurdle. I cannot place a nice title on the 2nd plot (raw signal)
on the layout. I do not have control on where either the "main" option of "plot" function, or "title", place the text
string which keeps dysplaying chopped from above. I also tried
2009 Aug 16
2
challenge in using layout with r bind function
Hi
Can any one explain how i can divide the graphic window
into two rows and two columns -- allocate figure 1 all of row 1 and
allocate figure 2 the intersection of column 2 and row 2
Actually through above also want to understand the use of rbind() function
that is used in call to layout()
Thanks in advance for help and time
Regards
ravi
[[alternative HTML version deleted]]
2010 Sep 21
5
Combined plot: Scatter + density plot
Hi,
in order to save space for a publication, it would be nice to have a
combined scatter and density plot similar to what is shows on
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=78
I wonder if anybody perhaps has already developed code for this and is
willing to share. This is the reproducible code for the histogram
version obtained from the site:
def.par <-
2003 Jan 17
1
problems writing graphics
Hello R-listers,
I am developing a function which needs to create jpeg files from some plots. To create the jpeg files I use the instruction dev.print(jpeg, file=c://graph.jpg",width=400,height=400). Until now everything has been fine, but now I have a special plot which is formed by 3 separate plots joined with the instruction "layout":
nf <-
2017 Jun 06
2
Plot MArginal distribution in the correct place
Hi all,
I have this code, but the marginal distribution plot doesn?t appear aligned
with the left plot.
I think could be something about layout or par() mar.
The code was programmed by me time ago.
Can anyone help me to get the marginal distribution on the center (more
higher centered)
id.txt
Could have this code:
05/01/2016;9335,200195
06/01/2016;9197,400391
07/01/2016;9059,299805
2011 Mar 30
1
How to put line linking two plots
Hello!
Suppose I have three charts like below. The top chart is a general
overview and the bottom charts are related so some point of this chart.
To make clear this relationship I want to draw a line between (4,0.9) in
the top chart and (10,1) in the bottom-left one.
Currently I add it manually using Inkscape on the resulting pdf file.
Is it possible to add it inside R? Should I switch to other
2011 Jul 31
2
Legend for 2 plots on same screen
Hello,
I have two plots on the same screen. I use the command par(mfrow=c(1,2)) in
order to do this. When I try to make a legend for both plots, it only puts
the legend in the plot on the right side. If I would like a legend that is
outside of both of the plots, how would I do this?
Thanks
[[alternative HTML version deleted]]
2006 Jul 10
1
par(mfrow,mai) and multiple plot problem
Hi
I'm having difficulty with a multiple plot. What I want is 12
plots, all of which are the same size and shape, differing
only in colour. Each one is a square, so there is an asp=1
in the plot call. I'm working in an Sweave environment so I
am free to choose the height and width of the plot.
I want the columns to be labelled at the head (here t=1,2,3)
and the rows to be labelled at