Hi,
I would like to (if possible) set the default width and height for graphs
at the start of each session and have each new graphic device overwrite
the previous one.
I only know how to do this using windows(width=,height=...) which opens up
a new plotting device every time, so I end up with
On Tue, 14 Aug 2007, Simon Pickett wrote:
Hi,
I would like to (if possible) set the default width and height for graphs
at the start of each session and have each new graphic device overwrite
the previous one.
Hmm. It is graphics devices that have dimensions, and plots that
overwrite
Yes,
Thankyou, that does the trick nicely. I thought that kind of thing could
be specified using par() but I guess not.
Thanks again.
On Tue, 14 Aug 2007, Simon Pickett wrote:
Hi,
I would like to (if possible) set the default width and height for
graphs
at the start of each session and
On Tue, 14 Aug 2007, Simon Pickett wrote:
Yes,
Thankyou, that does the trick nicely. I thought that kind of thing could
be specified using par() but I guess not.
As I said, size is not a property of the plot.
And par() applies to the current device, not future ones.
Thanks again.
On
21:37
Aan: r-help@stat.math.ethz.ch
Onderwerp: [R] graph results of logistic regression
I would like to graphically represent the results from a matched-pairs
logistic regression. I am looking to represent each variable seperately
in
a graph, displaying the probability of selection for each. My
I would like to graphically represent the results from a matched-pairs
logistic regression. I am looking to represent each variable seperately in
a graph, displaying the probability of selection for each. My study is
looking at habitat selection in turtles so I am comparing habitat
variables to
I have a program which make calculate them of 4 estimator, B, BE, wB and wBE.
Now I want to varied n example: n-seq(1,100,1), and to make a graph of B
and Be according to n, to make a comparison.
Tank you very much.
n-50
a-0.2
theta-rexp(n,a)
of code?
Petr
On 19 Jun 2006 at 17:29, Ahmed Elhabti wrote:
Date sent: Mon, 19 Jun 2006 17:29:03 +0200 (CEST)
From: Ahmed Elhabti [EMAIL PROTECTED]
To: R-help@stat.math.ethz.ch
Subject:[R] Graph and function
I have a program
Bonjour,
Je veux savoir comment je peux avoir avec R deux graphiques en un seul
graphique?
Exemple
Hi,
I want to know how I can have with R two graphs in only one graph?
Example
x-seq(0,4,0.1)
plot(x,dnorm(x),type=l)
plot(x,dgamma(x,2,0.5),typ=p)
Thanks
On Wed, Jun 14, 2006 at 07:23:53PM +0200, Ahmed Elhabti wrote:
[...]
Hi,
I want to know how I can have with R two graphs in only one graph?
Example
x-seq(0,4,0.1)
plot(x,dnorm(x),type=l)
plot(x,dgamma(x,2,0.5),typ=p)
in the last line, use 'points' instead of 'plot':
Hi all,
I have one question on xyplot() function.
I am trying to produce a graph by this code.
tmp - data.frame(a=rnorm(20),
b=rnorm(20),
rho=factor(rep(1:2, c(10,10))),
k=factor(rep(1:5,4)))
tmp.lattice -
xyplot(a ~ b | rho*k, data=tmp,
zj yang wrote:
Hi all,
I have one question on xyplot() function.
I am trying to produce a graph by this code.
tmp - data.frame(a=rnorm(20),
b=rnorm(20),
rho=factor(rep(1:2, c(10,10))),
k=factor(rep(1:5,4)))
tmp.lattice -
Hello,
I would like to know if it is possible to insert LaTeX typesetting in R output.
I want to obtain a graph with LaTeX label in order to incorporate it as
postscript or pdf,
x-seq(0,1,length=100)
y-x*x
plot(x,y,xlab=$X$,ylab=$X^2$)
__
[EMAIL PROTECTED] schrieb:
Hello,
I would like to know if it is possible to insert LaTeX typesetting in R output.
I want to obtain a graph with LaTeX label in order to incorporate it as
postscript or pdf,
x-seq(0,1,length=100)
y-x*x
plot(x,y,xlab=$X$,ylab=$X^2$)
package eso-pic to put your labels where you like with the command
\AddToShipoutPicture*
Maybe somebody has done something to wrap it all.
Romain
--
visit the R Graph Gallery : http://addictedtor.free.fr/graphiques
Discover the R Movies Gallery : http://addictedtor.free.fr/movies
On Tue, 28 Feb 2006, Dietrich Trenkler wrote:
[EMAIL PROTECTED] schrieb:
Hello,
I would like to know if it is possible to insert LaTeX typesetting in R
output.
I want to obtain a graph with LaTeX label in order to incorporate it as
postscript or pdf,
x-seq(0,1,length=100)
y-x*x
Dear R people,
I am currently experimenting with graph plotting using libraries
Rgraphviz, graph, etc. as needed by GeneTS (bioconductor project).
The plots I get use huge fonts to label the nodes and the edges
and that often makes the plot unreadable (overlapping edge labels etc).
The
This is a bit off-topic, but I thought I would ask. What are folks
typically using for graph layout when drawing graph structures. I have used
Rgraphviz for relatively small graphs (100 nodes or fewer) with nice
results. However, quick google searches turn up a number of graph layout
packages
/graphiques/RGraphGallery.php?graph=102
Let me take the opportunity to thank Romain
for setting up and maintaining the R Graph Gallery.
This is really a cool website for R users.
He'd get my number one vote for R website of the year!
Martin Maechler, ETH Zurich
are interresting.
Romain See
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=102
Let me take the opportunity to thank Romain
for setting up and maintaining the R Graph Gallery.
This is really a cool website for R users.
He'd get my number one vote for R website of the year!
Martin
I agree with Martin R Graph Gallery has a lot of neat stuff.
I also think there should be a on CRAN website a list of R websites. And
in a perfect world one of the search engines scope would get extended to
search them all.
Jarek
I also think there should be a on CRAN website a list of R websites. And
in a perfect world one of the search engines scope would get extended to
search them all.
It's quite possible to set up your own: have a look at http://rollyo.com/
Hadley
__
FISCHER, Matthew wrote:
Hi R-users,
I'm running R under Unix and producing postscript output of graphs.
Soemtimes, some tick axis labels disappear from my output.
eg if I have a vector
months - c(J,F,M,A,M,J,J,A,S,O,N,D)
Then the M and one or 2 other letters are dropped from
Hi R-users,
I'm running R under Unix and producing postscript output of graphs.
Soemtimes, some tick axis labels disappear from my output.
eg if I have a vector
months - c(J,F,M,A,M,J,J,A,S,O,N,D)
Then the M and one or 2 other letters are dropped from the axis.
This seems to be a size
Hi all,
I want to draw a line with the values of x marked in X axis.
I tried with
x - c(0,6,12,18,24,30) #coordinates of points x
y - c(2,5,7,5,7,16) #coordinates of points y
plot(x,type=n,xlab=Months,ylab=Y
values,main=main,ylim=c(0,16),xlim=c(0,30))
lines(x,y)
The graph shows by default
Oggetto: [R] Graph with values of coordinates of points in x axis
Hi all,
I want to draw a line with the values of x marked in X axis.
I tried with
x - c(0,6,12,18,24,30) #coordinates of points x
y - c(2,5,7,5,7,16) #coordinates of points y
plot(x,type=n,xlab
have to use : axes=F
x - c(0,6,12,18,24,30) #coordinates of points x
y - c(2,5,7,5,7,16) #coordinates of points y
plot(x,type=n,xlab=Months,ylab=Y
values,main=main,ylim=c(0,16),xlim=c(0,30),axes=F)
axis(2)
axis(1,(0:5)*6)
lines(x,y)
box()
Romain
--
visit the R Graph Gallery : http
On Tue, 7 Jun 2005, David Forrest wrote:
...
http://fawn.unibw-hamburg.de/cgi-bin/Rwiki.pl?UsePictures
This page demonstrates the use of pictures and the use of a public image
server for hosting graphics files.
Also, there's a page:
On 6 Jun 2005 at 17:48, Sander Oom wrote:
... much snipped ...
The whole point of a gallery is to show something to the user before
the user knows what he is looking for. The R help functions currently
available are hopeless when you have a picture of a graph in your head
without knowing the
I agree that a wiki to facilitate submission of graph code could be very
effective! Still needs to be well protected against vandalism. Seems a
regular backup, to facilitate a clean restore, is the best approach.
Romain, would you be willing to set up a wiki within the gallery. Think
the wiki
point of
a wiki is to foster collaboration.
Just 2 cents . . .
~Nick
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Sander Oom
Sent: Tuesday, June 07, 2005 2:37 AM
To: Chris Evans
Cc: R-help@stat.math.ethz.ch
Subject: Re: [R] R Graph Gallery : categorization
' categories to facilitate multiple categorization approaches!?
The keyword thing appears to be really popular and I think it's a good
idea. Those keywords may be categorized in the future.
That shouldn't be that hard to achieve that. The problem is time. R
Graph Gallery is just something I am having fun
to create
'meta' categories to facilitate multiple categorization approaches!?
The keyword thing appears to be really popular and I think it's a good
idea. Those keywords may be categorized in the future.
That shouldn't be that hard to achieve that. The problem is time. R
Graph Gallery is just
!?
The keyword thing appears to be really popular and I think it's a good
idea. Those keywords may be categorized in the future.
That shouldn't be that hard to achieve that. The problem is time. R
Graph Gallery is just something I am having fun with. ;-)
We could start with a limited list
On Tue, 7 Jun 2005, Dan Bolser wrote:
...
I agree, but its hard to get people contributing without something
centralized (some central autohrity). The problem with the existing wiki
http://fawn.unibw-hamburg.de/cgi-bin/Rwiki.pl?RwikiHome
Is that it currenlty does not support images (afaik).
On Tue, 7 Jun 2005, David Forrest wrote:
On Tue, 7 Jun 2005, Dan Bolser wrote:
...
I agree, but its hard to get people contributing without something
centralized (some central autohrity). The problem with the existing wiki
http://fawn.unibw-hamburg.de/cgi-bin/Rwiki.pl?RwikiHome
Is that it
On Tue, 7 Jun 2005, Dan Bolser wrote:
On Tue, 7 Jun 2005, David Forrest wrote:
On Tue, 7 Jun 2005, Dan Bolser wrote:
...
I agree, but its hard to get people contributing without something
centralized (some central autohrity). The problem with the existing wiki
On Tue, 7 Jun 2005, Dan Bolser wrote:
...
http://fawn.unibw-hamburg.de/cgi-bin/Rwiki.pl?Tips_And_Examples
Great!
We would need an image bin to support this though (for the average user).
Hi Dan all
http://fawn.unibw-hamburg.de/cgi-bin/Rwiki.pl?UsePictures
This page demonstrates the use
Hello all,
It seems that the next improvement to the R Graph Gallery is
categorization of the graphics, that way each graph will be easier to
find. That step should be done *carefully* if we want to avoid the
opposite side-effect : graph not reachable through the categories.
That's why
On Mon, 6 Jun 2005, Romain Francois wrote:
Hello all,
It seems that the next improvement to the R Graph Gallery is
categorization of the graphics, that way each graph will be easier to
find. That step should be done *carefully* if we want to avoid the
opposite side-effect : graph
Romain Francois wrote:
Graphics will be classified in :
- categories
- sub-categories within those categories
So far so good.
Maybe, maybe not! Would a system of keywords work better than strict
hierarchical categories, as long as plots can have more than one keyword
attached? Someone
Romain Francois [EMAIL PROTECTED] writes:
Hello all,
It seems that the next improvement to the R Graph Gallery is
categorization of the graphics, that way each graph will be easier to
find. That step should be done *carefully* if we want to avoid the
opposite side-effect : graph
Le 06.06.2005 17:21, Peter Dalgaard a écrit :
Romain Francois [EMAIL PROTECTED] writes:
Hello all,
It seems that the next improvement to the R Graph Gallery is
categorization of the graphics, that way each graph will be easier to
find. That step should be done *carefully* if we want
Barry Rowlingson wrote:
Romain Francois wrote:
Graphics will be classified in :
- categories
- sub-categories within those categories
So far so good.
Maybe, maybe not! Would a system of keywords work better than strict
hierarchical categories, as long as plots can have more than one
On Mon, 6 Jun 2005, Sander Oom wrote:
Barry Rowlingson wrote:
Romain Francois wrote:
Graphics will be classified in :
- categories
- sub-categories within those categories
So far so good.
Maybe, maybe not! Would a system of keywords work better than strict
hierarchical
On Mon, 6 Jun 2005, Romain Francois wrote:
Le 06.06.2005 17:21, Peter Dalgaard a écrit :
...
BTW, shouldn't there a way there from http://addictedtor.free.fr ? I
seem to get stuck on the home page with nothing to click (except R
and the labels on the left).
Hello Peter,
My english
get stuck
anywhere.
Romain
Perhaps the javascript menu on the left does not function on some
browsers.
Dave
Indeed, that menu doesn't work on certain versions of Mozilla.
Works ok with firefox and IE
Romain
--
visit the R Graph Gallery : http://addictedtor.free.fr/graphiques
On Mon, 6 Jun 2005, Dan Bolser wrote:
On Mon, 6 Jun 2005, Romain Francois wrote:
...
It seems that the next improvement to the R Graph Gallery is
categorization of the graphics, that way each graph will be easier to
find. That step should be done *carefully* if we want to avoid the
opposite
On Mon, 6 Jun 2005, David Forrest wrote:
On Mon, 6 Jun 2005, Dan Bolser wrote:
On Mon, 6 Jun 2005, Romain Francois wrote:
...
It seems that the next improvement to the R Graph Gallery is
categorization of the graphics, that way each graph will be easier to
find. That step should be done
Romain Francois wrote:
Le 06.06.2005 22:30, David Forrest a écrit :
BTW, shouldn't there a way there from http://addictedtor.free.fr ? I
seem to get stuck on the home page with nothing to click (except R
and the labels on the left).
Hello Peter,
My english fails me at understanding
other languages
I'm open to any suggestion.
Romain.
Le 18.02.2005 14:33, Sander Oom a écrit :
Dear R users,
Following some of the recent questions and discussions about the R
plotting abilities, it occurred to me again that it would be very
valuable to have an R graph gallery.
Eric
Earlier I suggested as a *start* for the R-gallery to process the
examples in R base and in the packages on CRAN. However, this was only
as a start It seems to me that there are three types of images that
would be useful in such a gallery;
1: The processed examples of base and CRAN
2: Figures
,
Following some of the recent questions and discussions about the R
plotting abilities, it occurred to me again that it would be very
valuable to have an R graph gallery.
Eric Lecoutre made a very nice example in:
http://www.stat.ucl.ac.be/ISpersonnel/lecoutre/stats/fichiers/_gallery.pdf
and discussions about the R
plotting abilities, it occurred to me again that it would be very
valuable to have an R graph gallery.
Eric Lecoutre made a very nice example in:
http://www.stat.ucl.ac.be/ISpersonnel/lecoutre/stats/fichiers/_gallery.pdf
It would be very useful to many beginners, but probably
questions and discussions about the R
plotting abilities, it occurred to me again that it would be very
valuable to have an R graph gallery.
Eric Lecoutre made a very nice example in:
http://www.stat.ucl.ac.be/ISpersonnel/lecoutre/stats/fichiers/_gallery.pdf
It would be very useful to many
.
Romain.
Le 18.02.2005 14:33, Sander Oom a écrit :
Dear R users,
Following some of the recent questions and discussions about the R
plotting abilities, it occurred to me again that it would be very
valuable to have an R graph gallery.
Eric Lecoutre made a very nice example in:
http://www.stat.ucl.ac.be
plotting abilities, it occurred to me again that it would be very
valuable to have an R graph gallery.
Eric Lecoutre made a very nice example in:
http://www.stat.ucl.ac.be/ISpersonnel/lecoutre/stats/fichiers/_gallery.pdf
It would be very useful to many beginners, but probably also
advanced
questions and discussions about the R
plotting abilities, it occurred to me again that it would be very
valuable to have an R graph gallery.
Eric Lecoutre made a very nice example in:
http://www.stat.ucl.ac.be/ISpersonnel/lecoutre/stats/fichiers/_gallery.pdf
It would be very useful to many
Mere reference. There is already a wiki-based R graphics library at
http://www.okada.jp.org/RWiki/index.php?%A5%B0%A5%E9%A5%D5%A5%A3%A5%C3%A5%AF%A5%B9%BB%B2%B9%CD%BC%C2%CE%E3%BD%B8
Of course, almost all pages are in Japanese and most r-users would feel
difficult to visit (and post an example
18.02.2005 14:33, Sander Oom a écrit :
Dear R users,
Following some of the recent questions and discussions about the R
plotting abilities, it occurred to me again that it would be very
valuable to have an R graph gallery.
Eric Lecoutre made a very nice example in:
http://www.stat.ucl.ac.be/ISpersonnel
Message-
From: Romain Francois [mailto:[EMAIL PROTECTED]
Sent: Friday, February 18, 2005 12:23 PM
To: [EMAIL PROTECTED]; RHELP
Subject: Re: [R] Hosting a R Graph Gallery?
Hello Sander,
That's a good idea and i am up to it.
Right now i am in an exam period, so it's not really the better time
Sander Oom slist at oomvanlieshout.net writes:
:
: Dear R users,
:
: Following some of the recent questions and discussions about the R
: plotting abilities, it occurred to me again that it would be very
: valuable to have an R graph gallery.
:
: Eric Lecoutre made a very nice example
Hello R-List,
The question is related to R, but not strictly:
I have generated a Q-Q plot with some 15,000 data points, when saved in
postscript format, the file became really large, which is not good to be
included in a LaTex file, as the output pdf file will be too big in file
size, too. If I
Subject: [R] Graph format: quality vs. file size
Hello R-List,
The question is related to R, but not strictly:
I have generated a Q-Q plot with some 15,000 data points,
when saved in
postscript format, the file became really large, which is not
good to be
included in a LaTex file
I would like to produce a graph which plots a log scale variable on the
y-axis but have the tick marks on the y-axis be the non log transformed
values that are round like .5, 1, 2, 3, 4 etc. Has anyone done something
like this in the past? How did you implement it in the code?
Thanks,
Dean
On Tue, 12 Oct 2004, Dean Sonneborn wrote:
I would like to produce a graph which plots a log scale variable on the
y-axis but have the tick marks on the y-axis be the non log transformed
values that are round like .5, 1, 2, 3, 4 etc. Has anyone done something
like this in the past? How
-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dean Sonneborn
Sent: Tuesday, October 12, 2004 2:02 PM
To: [EMAIL PROTECTED]
Subject: [R] graph question
I would like to produce a graph which plots a log scale variable on the
y-axis but have the tick marks on the y-axis be the non
You found graph, but there is also an R API for the Boost.Graph
libraries, RBGL, there.
best,
-tony
Andre Skusa [EMAIL PROTECTED] writes:
Dear R users,
just a quick question: Is there a reliable and good graph library for
R, eg. with shortest path algorithms on adjacency matrixes? I
Dear R users,
just a quick question: Is there a reliable and good graph library for R,
eg. with shortest path algorithms on adjacency matrixes? I already found
a graph package as part of Bioconductor. Are there more?
If anyone knows and would tell me, I appreciate very much!
Cheers,
Andre
--
How do to make a plot() and contour() in the same Graph sheet?
Marcos
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
If you want to overlay contour on an existing plot, use the add=TRUE option
in contour().
HTH,
Andy
From: Marcos
How do to make a plot() and contour() in the same Graph sheet?
Marcos
--
Notice: This e-mail
Hi,
I was wondering if there are any packages available that can represent
mathematical graphs along with functions to manipulate them? Google
did'nt turn up anything ( I may be asking too much of R :-/ )
Thanks,
---
Rajarshi Guha
graph and Rgraphviz in BioConductor; see www.bioconductor.org
Rajarshi Guha [EMAIL PROTECTED] writes:
Hi,
I was wondering if there are any packages available that can represent
mathematical graphs along with functions to manipulate them? Google
did'nt turn up anything ( I may be asking
I was wondering if there are any packages available that can represent
mathematical graphs along with functions to manipulate them? Google
did'nt turn up anything ( I may be asking too much of R :-/ )
I was looking for the same thing the other day, and found that a graph package
for R is
Tobias Sing [EMAIL PROTECTED] writes:
I was wondering if there are any packages available that can represent
mathematical graphs along with functions to manipulate them? Google
did'nt turn up anything ( I may be asking too much of R :-/ )
I was looking for the same thing the other day, and
BDR == Prof Brian Ripley [EMAIL PROTECTED]
on Thu, 27 Nov 2003 15:59:05 + (GMT) writes:
BDR You cannot send binary attachments to R-help, so we
BDR can't see anything here. In any case, .bmp is a
BDR strange choice for use on Unix systems: png would be
BDR much better
Hello,
I have some problems to generate graph with R...
I am working on two different platform :
- Compaq Alpha Server (Unix True 64 5.1) + R 1.6
- Sparc Server (Sun Solaris 8) + R 1.6
I use different functions like the bitmap function, the legend function and the
barplot function.
The
If indeed you used the bitmap() function, please read its help page.
The differences are very likely due to the installations of ghostscript
and nothing to do with R.
There never was an `R 1.6', but the current version of R is 1.8.1, so it
looks as if an update is well overdue.
On Thu, 27 Nov
Hi all,
I have currently been using the book Modern Applied Statistics with S from
Venables and Ripley. At chapter 6 on Linear Statistical models I wanted to
produce the plot as shown by Figure 6.1 using Whiteside's data. xyplot
command seems not to work on my version of R(version 1.7.0) running
Obviously, when you call the function trellis.device(postscript, ..)
you have set current output device to postscript, look at the file *.ps !
Try the same call with windows at the place of postscript!
Best!
A.S.
Alessandro Semeria
Models and Simulations
Tito de Morais Luis [EMAIL PROTECTED] writes:
Dear listers,
The following command (derived from the example in the ?stars help page)
works :
data(mtcars)
stars(mtcars[, 1:7])
But the following gives an error:
stars(mtcars[1, 1:7])
Error in s.y[i, ] : incorrect number of dimensions
Dear listers,
The following command (derived from the example in the ?stars help page)
works :
data(mtcars)
stars(mtcars[, 1:7])
But the following gives an error:
stars(mtcars[1, 1:7])
Error in s.y[i, ] : incorrect number of dimensions
I was expecting to have the star graph for the first line
82 matches
Mail list logo