Displaying 20 results from an estimated 30000 matches similar to: "Question"
2006 Nov 12
2
Unexpected behavior in boxplot
When plotting using the cex.axis argument to boxplot(), the size of the
plotting symbols beyond the whiskers of the boxplot are being changes.
Example:
par(mfrow=c(2,1))
boxplot(c(rnorm(10), 10), horizontal=TRUE, main="Test", las=2, cex.axis=2)
boxplot(c(rnorm(10), 10), horizontal=TRUE, main="Test", las=2, cex.axis=1)
This is from the following line in bxp()
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
2003 Jan 22
1
self-split plot on multiple device
Hello!
I would plot more than 10 (this number is always different)
graphics on a figure with layout like 'mfrow=c(4,2)'.
There is some existing function able to open the right number of
device if number of graphics is done or I have to build it myself
with some 'IF.....ELSE.....'?
Thanks.
A.S.
----------------------------
2002 May 06
6
SCP file corruptions
Hi,
I apparently was asleep at the wheel using scp, and accidentally copied a
file onto itself. Scp generated an Input/Output error and did not perform
the copy. However, now the file is corrupt. Is this a but? Is there anyway
to fix the file I messed up?
Thanks,
Don Gathman
208.396.6675
2006 Apr 19
2
par(tmag) question
Dear list,
I'm trying to understand the graphical parameters by a systematic exploration
of the par() function (if you are interested by the result it's here
http://pbil.univ-lyon1.fr/R/fichestd/tdr75.pdf, the comments are all in
french but it's pure R code under Sweave).
I have a problem with par(tmag) illustrated by the following code:
2013 Sep 13
3
Problema con el tamaño de las letras en R en gráficos multiples
Hola buenas,
Actualmente me hayo haciendo unas gráficas que han de tener un tamaño de
letra determinado. Para ello empleo los parametros ps de las funciones
x11() y en par().
Mientras hago gráficas de uno y gráficas de dos plots todo va bien. Pego
las gráficas en power point y veo que las gráficas son del tamaño
recomendado (pego una caja de texto y compruebo que todo es correcto de
manera
2009 Apr 27
2
How to create a graph layout?
I all,
I want to create a graph layout in a 3x3 matrix like this:
ylab |__| |__| |__|
___ ___ ___
ylab |__| |__| |__|
___ ___ ___
ylab |__| |__| |__|
xl xl xl
With this layout, then I'll insert the 9 plots. How ca I create it?
--
CdeB
2007 Jun 15
1
text display using expression or not
Hello,
I imagine that I'm missing something straightforward, but a run thru
the help files didn't turn up an answer.
I noticed while formatting some figures for publication that text
enclosed in expression() and used for a title displays differently
than a string, regardless of the par options. On both postscript()
and x11() devices, the regular text is heavier than the expression text.
2011 Mar 16
4
plotting multiple figures on one page
I am new to the R language. I am trying to plot multiple figures on one page
through a loop, but the code just produce one graph on one page. Can someone
show some light on what's wrong?
Here is my code:
library("quantreg")
tcdata<-read.table("mydata.txt",header=TRUE)
postscript("myfigure.ps")
basins<-
2008 Oct 02
2
Multiple hist(ograms) - One plot
Hello,
I am trying to plot multiple histograms with the same scales, etc into one
plot. The commands below produce a 3 page PDF with each histogram occupying
the upper right quadrant. And use slightly different scales on the X and Y
axes.
> s21 <- dat[dat$sc_recov=="21",]
> s21.ED <- subset(s21, select=(bbED))
> s31 <- all[all$sc_recov=="31",]
> s31.ED
2017 Aug 02
3
switch of cex adjustment with mfrow?
Dear list members,
i am trying to create multiple figures with identical layout (i.e. font sizes etc.) for a publication created with Latex. To do so (i.e. to get identical font sizes) I save all plots as a pdf with widths and heights as they would later appear in the paper (to prevent scaling etc.). My problem now is that I create several multipanel plots with par(mfrow=c(...)) which sometimes
2008 Feb 27
4
plot y1 and y2 on one graph
Dear all
I have a code like
x<-1:10
y1<-x+runif(10)*2
y2<-seq(0,50,length.out=10)+rnorm(10)*10
par(mfrow=c(1,2))
plot(y1~x)
plot(y2~x)
Now I would like to plot y1 and y2 on the same graph, with its two scales
(y1 on left and y2 on rigth side).
Any help are welcome.
Kind regards
Miltinho
Brazil
[[alternative HTML version deleted]]
2009 Feb 17
1
how to control the overall shape of a figure?
hi,
I am a R beginner. One thing I notice is that when do graphing is,
if I want to draw two figures in a row such as this:
par(mfrow(1, 2))
plot(...)
plot(...)
Each figure inside will be rectangle instead of the familiar square
shape.
Though you can drag the edge the window to resize it. I would have
prefer this can be done automatically ... also when I do the pdf
export for example. Is this
2009 Jun 03
2
Problems with plot and Quartz device (PR#13744)
Full_Name: Thomas Richardson
Version: R 2.9.0 GUI 1.28 Tiger build 32-bit (5395)
OS: 10.4.11
Submission from: (NULL) (216.254.15.72)
I have encountered a problem with points in scatterplots disappearing in a
quartz window when it is re-sized (to make it larger).
I am constructing an 8x12 matrix of scatterplots each containing approx 600
points.
In order to get them in the window I remove the
2004 Aug 02
4
How to add a common title (or xlab, ylab) for multi-plots in the same window?
Dear R people,
I am using par(mfrow=c()) to plot multi-figures in the same window. And I like
to put a common title (and xlab, ylab) for all of plots. I have already left
some margin by resetting omi values in par() and hided all (xlab, ylab) for
each sub-plot. Could anyone tell me how to do that?
Thanks a lot,
Frank
2018 Feb 01
3
Error while working with png output on linux server
Thanks for your reply. I searched for the error on Google before resorting to the R forum (help group).
I tried Sys.env(...) too, but didn't resolve the error I get. Hence I am looking for solution.
--
-----Original Message-----
From: Thierry Onkelinx [mailto:thierry.onkelinx at inbo.be]
Sent: Thursday, February 01, 2018 10:57 AM
To: Sariya, Sanjeev <ss5505 at cumc.columbia.edu>
2008 Sep 19
2
plot order in multi-panel figure
Hi,
Does anyone know if there is a way to 'reset the plot number' on a traditional graphics device?
For instance, I want to have two plots on stacked top of each other (mfrow=c(2,1)) but with underlying grid lines spanning both figures vertically. I can put the grid lines on top if I add them last:
par(mfrow=c(2,1))
plot.new()
plot.window(c(0,1),c(0,1))
for( i in 1:2) axis(i)
2008 Jan 12
2
Lattice equivalent of par(mfrow = )
Dear r-helpers,
Does anyone have a straightforward example of putting together three
unrelated (expect for a common y-axis) xyplot() figures in what would
be in base graphics a par(mfrow = c(1, 3)) arrangement?
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS: P.O.Box 400400 Charlottesville, VA 22904-4400
Parcels: Room 102
2018 Feb 01
0
Error while working with png output on linux server
Dear Sanjeev,
It seems that you system neither supports X11 devices nor cairo
devices. See http://lmgtfy.com/?q=R+unable+to+open+connection+to+X11
for possible solutions.
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE
AND FOREST
Team Biometrie & Kwaliteitszorg /
2010 Sep 16
2
use same breaks and colors, but the displayed scale are different-image.plot()
Hi all,
I want to put several figures in a one figure for easy comparison, so i
need to use the same methods to plot these figures. The following is an
example. I also list my method, but it does not work.
#Example data
x<- 1:10; y<- 1:10; z<- outer( x,y,"+");z2<- outer( x,y,"-")
#Quick view them
image.plot(x,y,z) #relatively larger value
image.plot(x,y,z2)