Re: [R] graph dimensions default

2007-08-14 Thread Prof Brian Ripley
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. > >

Re: [R] graph dimensions default

2007-08-14 Thread Simon Pickett
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

Re: [R] graph dimensions default

2007-08-14 Thread Prof Brian Ripley
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

Re: [R] graph results of logistic regression

2007-01-15 Thread ONKELINX, Thierry
The code of the function plot.logi.hist is defined in appendix A of the article you referred to. Cheers, Thierry ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Reseach Institute for Nature and Forest C

Re: [R] Graph and function

2006-06-19 Thread Petr Pikal
Hi well I am a bit puzzled > a<-0.2 > t<-rexp(1,a) >xn<-rpois(1,t) > B<-(xn+1)/(1+a) so B has nothing to do with n > b<-mean(x) > BE<-(1+xn)*b/(1+b) so as Be you can use n <- 1:100 and n as an input vector for some vectorized function but I wonder where to put such vector in your p

Re: [R] graph

2006-06-14 Thread Gabor Csardi
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 o

Re: [R] graph tick label size

2005-09-19 Thread Uwe Ligges
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

Re: [R] Graph with values of coordinates of points in x axis

2005-06-15 Thread Romain Francois
Le 15.06.2005 10:35, Massimiliano Tripoli a écrit : >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="

RE: [R] Graph format: quality vs. file size

2005-01-13 Thread Berton Gunter
Given that you are doing a Q-Q plot, I strongly suspect that other then in the extreme tails, there will be no loss of visible information if you plot only 1 out of every 10 of the ordered values instead of all of them (as the ordered values are highly correlated). This makes the file size manageab

Re: [R] Graph format: quality vs. file size

2005-01-13 Thread Marc Schwartz
On Thu, 2005-01-13 at 17:11 -0600, Jindan Zhou wrote: > 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 fi

RE: [R] graph question

2004-10-12 Thread Wiener, Matthew
Dean -- I believe just setting log = "y" in your plot command should do this. For example: > plot(runif(100, 1, 100), runif(100, 1, 100), log = "xy") gives me tick marks at 2, 5, 10, 20, 50, and 100. (YMMV because of the random numbers.) Hope this helps, Matt Wiener -Original Message

Re: [R] graph question

2004-10-12 Thread Prof Brian Ripley
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

Re: [R] graph algorithms in R

2004-04-29 Thread A.J. Rossini
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 a

RE: [R] GRAPH

2004-01-28 Thread Liaw, Andy
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

Re: [R] graph algorithms in R

2004-01-19 Thread A.J. Rossini
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 d

Re: [R] graph algorithms in R

2004-01-19 Thread Tobias Sing
> 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 be

Re: [R] graph algorithms in R

2004-01-19 Thread A.J. Rossini
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 ask

Re: [R] Graph window is not available any more

2003-09-24 Thread alessandro . semeria
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

Re: [R] graph for selected lines in stars()

2003-08-14 Thread Peter Dalgaard BSA
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