Hi all:
How can the R graphics window be customized
programmatically? Either minimized,maximized or change
the size of the default that ships with R.
Thanks
Felipe D. Carrillo
Fishery Biologist
US Fish Wildlife Service
Red Bluff, California 96080
Felipe Carrillo mazatlanmexico at yahoo.com writes:
How can the R graphics window be customized
programmatically? Either minimized,maximized or change
the size of the default that ships with R.
Assuming Windows as OS (which you forgot to mention)
windows(width = 2, height = 2, pointsize =
On 16/08/2007 7:35 PM, Felipe Carrillo wrote:
Hi all:
How can the R graphics window be customized
programmatically? Either minimized,maximized or change
the size of the default that ships with R.
Which device are you working with? Most of them allow the size to be
selected in the initial
Mango Solutions are pleased to announce the above 3 days R course in
Basel as part of our schedule for Q2 2007.
---
R Graphics -21th - 23rd May 2007 (Basel)
Prof Brian Ripley ripley at stats.ox.ac.uk writes:
On Thu, 11 Jan 2007, Rebecca Tagett wrote:
Hello,
I'm trying to adapt some R code that works on Windows so that it will work
on a Linux machine.
The command :
png(myFile.png, width=600, height=600)
fails claiming that it
Hello,
I'm trying to adapt some R code that works on Windows so that it will work
on a Linux machine.
The command :
png(myFile.png, width=600, height=600)
fails claiming that it is impossible to establish a connection with X11.
(Error messages are in French, so I'm not pasting them here!)
I forgot to mention that
bitmap()
will do what you want without an X11 connection.
b
On Jan 11, 2007, at 1:09 PM, Rebecca Tagett wrote:
Hello,
I'm trying to adapt some R code that works on Windows so that it
will work
on a Linux machine.
The command :
png(myFile.png, width=600,
Hi Rebecca,
png (and also jpeg, for example) require an X11 connection.
So, assuming you're working from the command line and that your X11
server is up, you would need to do something like:
linux$ export DISPLAY=:0.0
before loading R...
and if your linux machine is remote (and you're
On Thu, 11 Jan 2007, Rebecca Tagett wrote:
Hello,
I'm trying to adapt some R code that works on Windows so that it will work
on a Linux machine.
The command :
png(myFile.png, width=600, height=600)
fails claiming that it is impossible to establish a connection with X11.
(Error messages
pdf(sgr6100.pdf, horizontal=FALSE, onefile=FALSE,
height=3, width=3, pointsize=6)
Reducing point-size below 6 does not seem to make any difference to
the size of text and symbols. Any suggestions to get smaller font sizes?
I have never used the pointsize option. Increasing the height
Anupam Tyagi [EMAIL PROTECTED] writes:
[...]
What is the best format to save R graphics for inclusion into a
LaTeX documents?
When using pdflatex use pdf for graphics as reference format. Using
ps2pdf or some such may have some problems when it comes to alpha
channels and transparency.
[...]
Jens Scheidtmann [EMAIL PROTECTED] wrote:
Indispensable is having a good editing cycle. I.e. compile the latex,
jump to the position where you are editing the file in the preview,
double click somewhere in the preview, move to that position in your
editor (or at least near that position).
Hello, I can't seem to save (or find the default location) when I use the Window
Graphic Device's pull down menu. It does not seem to save to the directory I
have set using setwd(...). How do I make the pull down menu's work?
What is the best format to save R graphics for inclusion into a LaTeX
On 10/4/2006 1:11 PM, Anupam Tyagi wrote:
Hello, I can't seem to save (or find the default location) when I use the
Window
Graphic Device's pull down menu. It does not seem to save to the directory I
have set using setwd(...). How do I make the pull down menu's work?
If you want the best
[EMAIL PROTECTED]
(801) 408-8111
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anupam Tyagi
Sent: Wednesday, October 04, 2006 11:11 AM
To: r-help@stat.math.ethz.ch
Subject: [R] R Graphics: Saving PDF and other formats from Windows
GraphicDevice for LaTeX
Thanks. That worked. I am using the following to set-up the device:
pdf(sgr6100.pdf, horizontal=FALSE, onefile=FALSE,
height=3, width=3, pointsize=6)
Reducing point-size below 6 does not seem to make any difference to
the size of text and symbols. Any suggestions to get smaller font sizes?
I
Halo friends,
I have a problem to solve in R graphics..
I have a matrix like
A= 2 3 4
5 6 7
8 9 4
and I like to generate the same matrix in terms of shaded circles in which the
density of shading depends on the value...
for eg in the above matrix A the value 2 is a
Probably you can get some ideas from the balloonplot function in package gplots.
Best,
Matthias
Halo friends,
I have a problem to solve in R graphics..
I have a matrix like
A= 2 3 4
5 6 7
8 9 4
and I like to generate the same matrix in terms of shaded
circles
a simple question
how does one produce plots on two different graphics devices?
/
allan__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Alan,
I'm not sure what you mean...
perhaps
plot(y~x) # to the screen
pdf(myplot.pdf)
plot(y~x) # write the plot to the file
dev.off() # close the file
dev.off() # close the graphics window
s/
On 29/07/05, Clark Allan [EMAIL PROTECTED] wrote:
a simple question
how does one produce plots on
one could use the par command to plot several plots on 1 graphics
device.
i would like to do the following:
say plot(y~x) on one screen and then
plot(q~w) on another screen so that one can see both of them together
but not on the same graphics device.
Sean O'Riordain wrote:
Alan,
I'm not
Eventually one way:
With X11() you can open additional graphic devices.
x - rnorm(100)
y - x + runif(100)
plot(x)
X11()
plot(x,y)
Best,
Matthias
a simple question
how does one produce plots on two different graphics devices?
/
allan
__
Is this on windows? If so, how about the following:
windows()
plot(y~x)
windows()
plot(q~x)
For me, this creates two different plot _windows_ and you could tile
them to see each side-by-side. But I'm not sure how that would be
preferable to having the plots in the same window.
actually X11() also works under windows!
X11()
plot(y~x)
X11()
plot(q~x)
On 29/07/05, Chuck Cleland [EMAIL PROTECTED] wrote:
Is this on windows? If so, how about the following:
windows()
plot(y~x)
windows()
plot(q~x)
For me, this creates two different plot _windows_ and
of Leuven
Kapucijnenvoer 35
B-3000 Leuven
Belgium
Tel: +32/16/336899
Fax: +32/16/337015
- Original Message -
From: Clark Allan [EMAIL PROTECTED]
To: r-help@stat.math.ethz.ch
Sent: Friday, July 29, 2005 1:30 PM
Subject: [R] R: graphics devices
a simple question
how does one produce
@stat.math.ethz.ch
Sent: Friday, July 29, 2005 1:30 PM
Subject: [R] R: graphics devices
a simple question
how does one produce plots on two different graphics devices?
/
allan
2005-07-29
--
Deparment of Sociology
Fudan University
Blog:http://sociology.yculblog.com
I'd suggest starting with the documentation. See
?Devices
and then look at some of the other functions referenced in the See
Also section of ?Devices.
Basically, you produce plots on two different graphics devices by
this sequence:
1) open a graphics device
2) produce a plot
3)
/336899
Fax: +32/16/337015
- Original Message -
From: Clark Allan [EMAIL PROTECTED]
To: r-help@stat.math.ethz.ch
Sent: Friday, July 29, 2005 1:30 PM
Subject: [R] R: graphics devices
a simple question
how does one produce plots on two different graphics devices?
/
allan
2005
:09 AM
To: ronggui
Cc: r-help@stat.math.ethz.ch
Subject: Re: [R] R: graphics devices
This is for Windows only, and documented in
?windows
README.rw2011 (or whatever)
It's more usual to switch recording on when you need it,
either in the
windows() call or from a menu.
?options only
Hi
I am trying to set up 16 graphs on one graphics page in R. I have used
the mfrow=c(4,4) command. However I get a lot of white space between
each graph. Does anyone know how I can reduce this?
Thanks
Sam
__
R-help@stat.math.ethz.ch mailing list
Sam Baxter wrote:
Hi
I am trying to set up 16 graphs on one graphics page in R. I have used
the mfrow=c(4,4) command. However I get a lot of white space between
each graph. Does anyone know how I can reduce this?
Thanks
Sam
__
Sam Baxter wrote:
Hi
I am trying to set up 16 graphs on one graphics page in R. I have used
the mfrow=c(4,4) command. However I get a lot of white space between
each graph. Does anyone know how I can reduce this?
Thanks
Sam
Two options:
1. play around with the `mar' parameter
Sam Baxter [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I am trying to set up 16 graphs on one graphics page in R. I have used
the mfrow=c(4,4) command. However I get a lot of white space between
each graph. Does anyone know how I can reduce this?
The default par()$mar is
Hello, dear R experts!
One of the first reasons I began to use R, was its beautiful
plotting capabilities. I found them very nice and simple. But
at the last time I consider another languages (Perl, Python) for
coding my scientific applications. So for now, in order to plot graphics
I have to
Timur Elzhov wrote:
Hello, dear R experts!
One of the first reasons I began to use R, was its beautiful
plotting capabilities. I found them very nice and simple. But
at the last time I consider another languages (Perl, Python) for
coding my scientific applications. So for now, in order to plot
2003-10-12, v keltezssel Timur Elzhov ezt rta:
at the last time I consider another languages (Perl, Python) for
The question is: what about R graphics? Is it so hard to bind it with
any non-R languages?
Try RPy (R from Python)!
http://rpy.sourceforge.net/
Gbor
: Re: [R] R-Graphics: Scaling axis
Excuse me, but that is not `how you do it'. R has two automated ways. One
is the parameter `asp': see ?plot.window, and the other is the function
eqscplot() in package MASS. Neither need manual intervention (unless your
output device cannot plot square pixels
Hi,
how can I scale the x- and y-axis of a plot to the same scale?
My problem: The following command sequence produces the plot in a square.
What I want is the x-axis to be 5 times as wide (measured e.g. in pixels)
as the y-axis is long (because y ranges from -1 to 1 and x ranges from 0
to 10).
I recently built R 1.6.2 on solaris 2.8 with gcc 3.2.
Things seem to run OK, but using graphics causes R to
core dump. (For instance, by using the plot() or
hist() functions.) Sometimes I can see the graphics
drawn before it actually core dumps. The core file
shows a crash in Rf_gpptr.
I'm
This is a known bug in gcc 3.2.1 and 3.2.2: are you using either of those?
It is described in the R-admin manual: please consult it for details.
The Sun Forte compilers work, and the actual 3.2 does work for me.
On Fri, 28 Feb 2003, a a wrote:
I recently built R 1.6.2 on solaris 2.8 with gcc
Thanks for the help. I had in fact used gcc 3.2.1 to
build. Rebuilding using the SunPro compiler seems to
have fixed the problem.
B Jones
--- [EMAIL PROTECTED] wrote:
This is a known bug in gcc 3.2.1 and 3.2.2: are you
using either of those?
It is described in the R-admin manual: please
41 matches
Mail list logo