Re: [R] R graphics display window

2007-08-17 Thread Duncan Murdoch
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 sel

Re: [R] R graphics display window

2007-08-16 Thread Dieter Menne
Felipe Carrillo 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 =

[R] R graphics display window

2007-08-16 Thread Felipe Carrillo
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 9

Re: [R] Antwort: Re: pgup/pgdown in R Graphics Window under Linux ['Watchdog': checked]

2007-07-09 Thread Deepayan Sarkar
On 7/8/07, Paul Matthias Diderichsen <[EMAIL PROTECTED]> wrote: > Hi Deepayan, > > "Deepayan Sarkar" <[EMAIL PROTECTED]> schrieb am 06.07.2007 > 02:05:02: > > On 7/5/07, Paul Matthias Diderichsen > > <[EMAIL PROTECTED]> wrote: > >> library(lattice) > >>> xyplot(speed~dist|speed, data=cars, layout=c

[R] Antwort: Re: pgup/pgdown in R Graphics Window under Linux ['Watchdog': checked]

2007-07-08 Thread Paul Matthias Diderichsen
Hi Deepayan, "Deepayan Sarkar" <[EMAIL PROTECTED]> schrieb am 06.07.2007 02:05:02: > On 7/5/07, Paul Matthias Diderichsen > <[EMAIL PROTECTED]> wrote: >> library(lattice) >>> xyplot(speed~dist|speed, data=cars, layout=c(3,3)) > If this is your use case, you might be interested in > http://cran.r-

[R] Antwort: Re: pgup/pgdown in R Graphics Window under Linux ['Watchdog': checked]

2007-07-08 Thread Paul Matthias Diderichsen
Dear Prof. Ripley, Prof Brian Ripley <[EMAIL PROTECTED]> schrieb am 05.07.2007 21:46:20: > > Dear S-users. > This is the help forum for R users Indeed. (How embarrasing not to be able to spell a one-letter word correctly...) >> How do I change pages on an X11 graphics >> device under linux

Re: [R] pgup/pgdown in R Graphics Window under Linux

2007-07-05 Thread Deepayan Sarkar
On 7/5/07, Paul Matthias Diderichsen <[EMAIL PROTECTED]> wrote: > Dear S-users. > This should be an easy one: How do I change pages on an X11 graphics > device under linux? > > I thought that the page-up/page-down keys were supposed to do the trick, > but the frame (window) seems to be kind of immu

Re: [R] pgup/pgdown in R Graphics Window under Linux

2007-07-05 Thread Prof Brian Ripley
On Thu, 5 Jul 2007, Paul Matthias Diderichsen wrote: > Dear S-users. This is the help forum for R users > This should be an easy one: How do I change pages on an X11 graphics > device under linux? > > I thought that the page-up/page-down keys were supposed to do the trick, It is baffling,

Re: [R] working with R graphics remotely

2007-07-05 Thread John Logsdon
Better still IMHO - try NX or FreeNX. That runs an xclient (also of course an xserver underneath) on your WIndows desktop. Windows pop up as required. NX compression means that you get very impressive speed, mouse response etc. A server also needs installing on the Linux box so you may have

[R] pgup/pgdown in R Graphics Window under Linux

2007-07-05 Thread Paul Matthias Diderichsen
Dear S-users. This should be an easy one: How do I change pages on an X11 graphics device under linux? I thought that the page-up/page-down keys were supposed to do the trick, but the frame (window) seems to be kind of immune to any kind of keyboard input. The only reaction I ever see is that t

Re: [R] working with R graphics remotely

2007-07-02 Thread Gabor Grothendieck
On your Windows machine you need to run (1) an X server and (2) an ssh client. Xming and putty, respectively, are among the free ones. First start Xming (you can configure it using XLaunch, which is included with Xming, or you can run Xming from the Windows command line specifying the configurati

Re: [R] working with R graphics remotely

2007-07-02 Thread Prof Brian Ripley
ease see the help page of the devices you recommended, which did warn about this. > > -Original Message- > From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] > Sent: maandag 2 juli 2007 7:56 > To: zhihua li > Cc: r-help@stat.math.ethz.ch > Subject: Re: [R] working wi

Re: [R] working with R graphics remotely

2007-07-02 Thread Jan Wijffels
?pdf ?jpeg and load the files back to your windows machine unless you need to work interactively through X11 -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: maandag 2 juli 2007 7:56 To: zhihua li Cc: r-help@stat.math.ethz.ch Subject: Re: [R] working with R

Re: [R] working with R graphics remotely

2007-07-01 Thread Prof Brian Ripley
You need to forward the X11 window to your local machine, which would need to be running an X server. We do this using Exceed and PUTTY settings, but your sysadmins will be able to help you: it is not a question about R per se. On Mon, 2 Jul 2007, zhihua li wrote: > Hi netters, > > Now I'm co

[R] working with R graphics remotely

2007-07-01 Thread zhihua li
Hi netters, Now I'm connecting from my local windows machine to a remote linux machine and launch R out there using SSH. When I tried to create grahics, like using plot or heatmap, I cannot see the output. Maybe a new R window displaying the graphics has popped out in the remote machine? Or I

Re: [R] graphics edge in win.metafile?

2007-05-26 Thread jim holtman
You can always use the 'crop' feature in PowerPoint to get the graphics the way you want them. On 5/26/07, LL <[EMAIL PROTECTED]> wrote: > > Thanks Charles. I just discovered that I get much better behavior if I > write > the graph to a normal R graphics window, ri

Re: [R] graphics edge in win.metafile?

2007-05-26 Thread LL
Thanks Charles. I just discovered that I get much better behavior if I write the graph to a normal R graphics window, right click and select copy as metafile, and paste the result normally into powerpoint. - Original Message - From: "Charles Annis, P.E." <[EMAIL PROTECT

Re: [R] graphics edge in win.metafile?

2007-05-26 Thread Charles Annis, P.E.
14 PM To: LL; r-help@stat.math.ethz.ch Subject: [R] graphics edge in win.metafile? Hi... I copy a plot to the clipboard via win.metafile and then paste the clipboard into a powerpoint show. The problem is that there is considerable white space between the edges of the plot and the figure pasted into p

[R] graphics edge in win.metafile?

2007-05-26 Thread LL
Hi... I copy a plot to the clipboard via win.metafile and then paste the clipboard into a powerpoint show. The problem is that there is considerable white space between the edges of the plot and the figure pasted into powerpoint. I've tried many par settings to get less white space between the

Re: [R] graphics on Ubunut

2007-05-21 Thread Marcel.
Well, i had this problem too, but with Edy edge 5.06. I fixed the problem after reading this. http://ubuntuforums.org/archive/index.php/t-248750.html http://ubuntuforums.org/archive/index.php/t-248750.html But I also updated to Feisty Fawn (5.10) and there the problem didn't occur. I'm not sure i

Re: [R] graphics on Ubunut

2007-05-18 Thread Dirk Eddelbuettel
On 18 May 2007 at 20:25, Erin Hodgess wrote: | Dear R People: | | I'm working with R on the latest version of Ubuntu. | | However, I can't get graphics to appear, even with the | simplest plot commands. What does this show for you: > capabilities()["X11"] X11 TRUE

[R] graphics on Ubunut

2007-05-18 Thread Erin Hodgess
Dear R People: I'm working with R on the latest version of Ubuntu. However, I can't get graphics to appear, even with the simplest plot commands. Has anyone run into that, please? I'm using R-2.5.0 on Ubuntu Feisty Fawn. (Please don't puke. That's really the name) Thanks in advance, Sincerel

Re: [R] Re-sizing R graphics for Sweave

2007-05-17 Thread Douglas Bates
be a certain width, but I can't find how to do > >> this. Another approach is to use horizontal boxplots. With the lattice package you can use library(lattice) bwplot(grps ~ obs, mydata) If you prefer to use the boxplot function then use the optional argument horizontal = TRUE.

Re: [R] Re-sizing R graphics for Sweave

2007-05-16 Thread Thomas Adams
his help? I guess one possibility would be to >> number the boxplots, but this may not help either. My thought would be >> to force the graphic to be a certain width, but I can't find how to do this. >> >> I have searched and can not find a way to do this automat

Re: [R] Re-sizing R graphics for Sweave

2007-05-16 Thread Marc Schwartz
to force the graphic to be a certain width, but I can't find how to do this. > > I have searched and can not find a way to do this automatically — I > could not find anything in the "R Graphics" book by Paul Murrell that > pointed me in the right direction either. &g

[R] Re-sizing R graphics for Sweave

2007-05-16 Thread Thomas Adams
rched and can not find a way to do this automatically — I could not find anything in the "R Graphics" book by Paul Murrell that pointed me in the right direction either. Thank you, Tom -- Thomas E Adams National Weather Service Ohio River Forecast Center 1901 South State Route 134

Re: [R] graphics - wireframe

2007-04-13 Thread Greg Snow
AIL PROTECTED] > Subject: [R] graphics - wireframe > > Hi, > > I would like to know about graphics for response surface in > R. What are arguments for a best graphics? > > thanks, > > Bruno > > y <- c(66,39,43,49,58,17,-5,-40,65,7,43,-22,-31,-35,-26) >

Re: [R] graphics - wireframe

2007-04-13 Thread Ben Bolker
Bruno Churata gmail.com> writes: > > Hi, > > I would like to know about graphics for response surface in R. What are > arguments for a best graphics? > Thanks for giving a reproducible example [snipped], but it's not clear what you need to know. Are you wondering whether there are general d

[R] graphics - wireframe

2007-04-13 Thread Bruno Churata
Hi, I would like to know about graphics for response surface in R. What are arguments for a best graphics? thanks, Bruno y <- c(66,39,43,49,58,17,-5,-40,65,7,43,-22,-31,-35,-26) x1 <- c(-1,1,-1,1,-1,1,-1,1,rep(0,7)) x2 <- c(-1,-1,1,1,0,0,0,0,-1,1,-1,1,0,0,0) wireframe( y ~ x1*x2 , scales = l

Re: [R] graphics question: tilted axis labels?

2007-04-13 Thread Charilaos Skiadas
On Apr 13, 2007, at 9:52 AM, Christoph Heibl wrote: > Dear Charilaos, > > Thanks ... your were right. I now get the names. But the problems > remains that the space (30 items) is insufficient to bear all the > names and I am still looking for a way to accommodate them. Do you > know of any s

Re: [R] graphics question: tilted axis labels?

2007-04-13 Thread Julien Barnier
Hi, > I would like to draw a barplot where items are countries and, in > order to fit the country´s names in, tilt these names about 45°. Is > this possible? I cannot find any examples in the docs. I think it is in the FAQ : http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-can-I-create-rotat

Re: [R] graphics question: tilted axis labels?

2007-04-13 Thread Christoph Heibl
Dear Charilaos, Thanks ... your were right. I now get the names. But the problems remains that the space (30 items) is insufficient to bear all the names and I am still looking for a way to accommodate them. Do you know of any solution? Cheers, Christoph On 13.04.2007, at 15:27, Charilaos

Re: [R] graphics question: tilted axis labels?

2007-04-13 Thread Charilaos Skiadas
Your problem is different I think, it's the fact that LA$countries is a factor, and hence you see the factor levels instead of their labels. Try: # create data frame LA <- data.frame(countries=c("Chile", "Peru", "Bolivia"), values=c (10, 12, 13), stringsAsFactors = FALSE) # call barplot bar

[R] graphics question: tilted axis labels?

2007-04-13 Thread Christoph Heibl
I´m sorry, I did not provide any code. Here is now a small example: # create data frame LA <- data.frame(countries=c("Chile", "Peru", "Bolivia"), values=c (10, 12, 13)) # call barplot barplot(LA$values, names.arg=LA$countries) # Countries names are not plotted, but their index numbers instea

[R] graphics question: tilted axis labels?

2007-04-13 Thread Christoph Heibl
Dear experts, Is there a way to change the angle in which the axes are labeled? I would like to draw a barplot where items are countries and, in order to fit the country´s names in, tilt these names about 45°. Is this possible? I cannot find any examples in the docs. Thanks for your help!!!

[R] R Graphics training course - Basel - 21.22.23 may 2007

2007-04-05 Thread Romain Francois
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

Re: [R] PLotting R graphics/symbols without user x-y scaling

2007-02-27 Thread Greg Snow
:[EMAIL PROTECTED] On Behalf Of Jonathan Lees > Sent: Monday, February 26, 2007 7:26 AM > To: r-help@stat.math.ethz.ch > Subject: [R] PLotting R graphics/symbols without user x-y scaling > > > Is it possible to add lines or other > user defined graphics > to a plot in R that does n

Re: [R] PLotting R graphics/symbols without user x-y scaling

2007-02-26 Thread Gabor Grothendieck
You can use par("usr") to get the min/max coords of the plot and then use that. For example, this will plot a red dot in the middle of the plot area regardless of the coordinates: plot(1:10) # sample plot usr <- par("usr") points(mean(usr[1:2]), mean(usr[3:4]), pch = 20, col = "red") # red dot

Re: [R] PLotting R graphics/symbols without user x-y scaling

2007-02-26 Thread Paul Murrell
Hi Jonathan Lees wrote: > Is it possible to add lines or other > user defined graphics > to a plot in R that does not depend on > the user scale for the plot? > > For example I have a plot > plot(x,y) > and I want to add some graphic that is > scaled in inches or cm but I do not want the > graph

[R] PLotting R graphics/symbols without user x-y scaling

2007-02-26 Thread Jonathan Lees
Is it possible to add lines or other user defined graphics to a plot in R that does not depend on the user scale for the plot? For example I have a plot plot(x,y) and I want to add some graphic that is scaled in inches or cm but I do not want the graphic to change when the x-y scales are changed

Re: [R] R graphics with Linux (libpng)

2007-01-16 Thread Rebecca Tagett
> > > >> rpm -qa libpng* > > > > libpng-1.0.12-2 > > > > libpng-devel-1.0.12-2 > > > > > > > > So I don't understand why R thinks I'm trying to connect to X11. I haven't > > been able to find many examples of R grap

Re: [R] R graphics with Linux (libpng)

2007-01-11 Thread Prof Brian Ripley
impossible to establish a connection with X11. > (Error messages are in French, so I'm not pasting them here!) > > > > I have libpng installed: > >> rpm -qa libpng* > > libpng-1.0.12-2 > > libpng-devel-1.0.12-2 > > > > So I don't understand wh

Re: [R] R graphics with Linux (libpng)

2007-01-11 Thread Benilton Carvalho
g* > > libpng-1.0.12-2 > > libpng-devel-1.0.12-2 > > > > So I don't understand why R thinks I'm trying to connect to X11. I > haven't > been able to find many examples of R graphics code specifically for > Linux, > but I have the impression that i

Re: [R] R graphics with Linux (libpng)

2007-01-11 Thread Benilton Carvalho
gt; > libpng-1.0.12-2 > > libpng-devel-1.0.12-2 > > > > So I don't understand why R thinks I'm trying to connect to X11. I > haven't > been able to find many examples of R graphics code specifically for > Linux, > but I have the impression that

[R] R graphics with Linux (libpng)

2007-01-11 Thread Rebecca Tagett
ot pasting them here!) I have libpng installed: >rpm -qa libpng* libpng-1.0.12-2 libpng-devel-1.0.12-2 So I don't understand why R thinks I'm trying to connect to X11. I haven't been able to find many examples of R graphics code specifically for Linux, but I have the impre

Re: [R] graphics not find source

2006-11-01 Thread Peter Dalgaard
Ricardo Arias Brito <[EMAIL PROTECTED]> writes: > > Hi, > > The plot function not produces graphics in linux. > > The msg: > Error in X11(): it was not possible to find no source > X11 Verifity if the way of sources is correct. > > Any ideas? Hmm, maybe you shouldn't have tried to

[R] graphics not find source

2006-11-01 Thread Ricardo Arias Brito
Hi, The plot function not produces graphics in linux. The msg: Error in X11(): it was not possible to find no source X11 Verifity if the way of sources is correct. Any ideas? Thanks, Ricardo ___ Registre s

Re: [R] graphics not find source

2006-11-01 Thread Ben Bolker
Ricardo Arias Brito yahoo.com.br> writes: > > Hi, > > The plot function not produces graphics in linux. > > The msg: > Error in X11(): it was not possible to find no source > X11 Verifity if the way of sources is correct. > > Any ideas? > > Thanks, Ricardo > This is too vague for us to

[R] graphics not find source

2006-10-31 Thread Ricardo Arias Brito
Hi, The plot function not produces graphics in linux. The msg: Error in X11(): it was not possible to find no source X11 Verifity if the way of sources is correct. Any ideas? Thanks, Ricardo __ R-help@stat.math.ethz.ch mailing list https://stat.eth

Re: [R] graphics ignore tabs in text

2006-10-31 Thread Paul Murrell
Hi Marc Schwartz wrote: > On Tue, 2006-10-31 at 09:13 -0500, Liaw, Andy wrote: >> Dear R-help, >> >> I seem to recall that I can use "\t" to get tab in a string on a >> graphics device, but it doesn't seem to work. Try: >> >> lab <- "a\tb\tc" >> cat(lab, "\n") # works in the console output

[R] graphics ignore tabs in text

2006-10-31 Thread Liaw, Andy
Dear R-help, I seem to recall that I can use "\t" to get tab in a string on a graphics device, but it doesn't seem to work. Try: lab <- "a\tb\tc" cat(lab, "\n") # works in the console output plot(1:5, main=lab) # no tabs in the title text(3, 3, lab) # no tabs in the text I get the s

Re: [R] graphics ignore tabs in text

2006-10-31 Thread Marc Schwartz
On Tue, 2006-10-31 at 09:13 -0500, Liaw, Andy wrote: > Dear R-help, > > I seem to recall that I can use "\t" to get tab in a string on a > graphics device, but it doesn't seem to work. Try: > > lab <- "a\tb\tc" > cat(lab, "\n") # works in the console output > plot(1:5, main=lab) # no tabs

Re: [R] R Graphics: Saving PDF and other formats from Windows Graphic Device for LaTeX

2006-10-05 Thread Mike Prager
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 positio

Re: [R] R Graphics: Saving PDF and other formats from Windows Graphic Device for LaTeX

2006-10-05 Thread Jens Scheidtmann
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

Re: [R] R Graphics: Saving PDF and other formats from Windows Graphic Device for LaTeX

2006-10-05 Thread Stefan Grosse
> and pauses. Suggestions will be appreciated about what is the best way to > scale > R graphics for inclusion in LaTeX. > > see above. Have a look at a good LaTeX guide like lshort http://tobi.oetiker.ch/lshort/lshort.pdf (e.g. p.73/73) Stefan Grosse

Re: [R] R Graphics: Saving PDF and other formats from Win dows Graphic Device for LaTeX

2006-10-04 Thread Anupam Tyagi
est way to scale R graphics for inclusion in LaTeX. Anupam. __ 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 and provide commented, min

Re: [R] R Graphics: Saving PDF and other formats from Windows GraphicDevice for LaTeX

2006-10-04 Thread Greg Snow
[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

Re: [R] R Graphics: Saving PDF and other formats from Windows Graphic Device for LaTeX

2006-10-04 Thread Duncan Murdoch
wn menu's work? If you want the best quality results, don't use the Save menu at all. Instead, write directly to a graphics device like pdf(). > > What is the best format to save R graphics for inclusion into a LaTeX > documents? > I will use PdfTex, or LaTeX -> PS -> P

[R] R Graphics: Saving PDF and other formats from Windows Graphic Device for LaTeX

2006-10-04 Thread Anupam Tyagi
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 f

Re: [R] graphics and 'layout' question

2006-09-15 Thread James W. MacDonald
[EMAIL PROTECTED] wrote: > 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 magni

Re: [R] graphics and 'layout' question

2006-09-15 Thread David Barron
Use the heights parameter in the layout function, as shown in ?layout. For example, to get the first figure to be twice as tall as the other two, use: > layout(matrix(c(1,1,2,3),2,2,byrow=TRUE),heights=c(2,1)) > layout.show(3) On 15/09/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hello,

Re: [R] graphics and 'layout' question

2006-09-15 Thread Chuck Cleland
[EMAIL PROTECTED] wrote: > 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 > ma

[R] graphics and 'layout' question

2006-09-15 Thread Arne.Muller
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%

Re: [R] graphics: y limit on xyplot

2006-09-10 Thread Gabor Grothendieck
It should have length 2, i.e. lower limit and upper limit. On 9/11/06, Murray Pung <[EMAIL PROTECTED]> wrote: > I would like to set the y axis limit of an xyplot using the object 'ylimit', > but receive this error: > [1] 990 > Error in extend.limits(limitlist[[i]], axs = axs) : > improper length

[R] graphics: y limit on xyplot

2006-09-10 Thread Murray Pung
I would like to set the y axis limit of an xyplot using the object 'ylimit', but receive this error: [1] 990 Error in extend.limits(limitlist[[i]], axs = axs) : improper length of lim I get the same error if I use ylim. library(lattice) trellis.device(col = FALSE, theme = lattice.getOption("co

Re: [R] graphics - joining repeated measures with a line

2006-09-07 Thread hadley wickham
> I would like to join repeated measures for patients across two visits using > a line. The program below uses symbols to represent each patient. Basically, > I would like to join each pair of symbols. This is easy in ggplot: install.packages("ggplot") library(ggplot) qplot(visit, var, id=patien

Re: [R] graphics - joining repeated measures with a line

2006-09-06 Thread Gabor Grothendieck
Just one correction (although in this case it does not change the output) -- use group = patient rather than group = symbol[patient]: xyplot(var ~ visit, group = patient, type = "b", auto.key = list(space = "right"), par.settings = list(superpose.symbol = list(pch = symbols))) On 9/6/06, Gabo

Re: [R] graphics - joining repeated measures with a line

2006-09-06 Thread Gabor Grothendieck
Make each pair of points a separate group using group= and specify that both points and lines be used via type = "b". Also set the symbols in par.settings= so that they are accessed by both the main plot and the legend: xyplot(var ~ visit, group = symbols[patient], type = "b", auto.key = list(

[R] graphics - joining repeated measures with a line

2006-09-06 Thread Murray Pung
I would like to join repeated measures for patients across two visits using a line. The program below uses symbols to represent each patient. Basically, I would like to join each pair of symbols. library(lattice) patient <- c(1,2,3,4,5,6,7,8,9,1,2,3,4,5,6,7,8,9) var <- c(826,119,168,90,572,323,

Re: [R] Source code for R graphics devices

2006-07-10 Thread Ted Harding
On 10-Jul-06 Ted Harding wrote: > Hi Folks, > > I'm trying to locate the source code for a (typical) > R graphics device, in order to study how it's done. > > [...] > > When, in R, I type "xfig" to see the R code, I get the > line > > .I

Re: [R] Source code for R graphics devices

2006-07-10 Thread Duncan Murdoch
On 7/10/2006 3:52 PM, (Ted Harding) wrote: > Hi Folks, > > I'm trying to locate the source code for a (typical) > R graphics device, in order to study how it's done. > > The underlying reason is that I'm thinking of trying > to create a graphics device for &#

[R] Source code for R graphics devices

2006-07-10 Thread Ted Harding
Hi Folks, I'm trying to locate the source code for a (typical) R graphics device, in order to study how it's done. The underlying reason is that I'm thinking of trying to create a graphics device for 'pic' (the diagram drawing component of [g]troff). I thought the xf

Re: [R] Saving R graphics with version 2.3.1

2006-06-15 Thread Michael H. Prager
In response to the OP's query, we use numerous R scripts that save graphics as PNG and EPS through savePlot() commands. We have not experienced any problems with R 2.3.1. MHP on 6/15/2006 9:25 AM Duncan Murdoch said the following: > [EMAIL PROTECTED] wrote: > >> HI ! >> >> I´ve installed t

Re: [R] Saving R graphics with version 2.3.1

2006-06-15 Thread Duncan Murdoch
[EMAIL PROTECTED] wrote: > HI ! > > I´ve installed the latest R version (2.3.1) and I´ve had problems to > save my graphics as JPEG, PNG and the others available formats. > R saves the file with no extension. Then, I have to open this file > using an image visualizer and save it as PNG, for insta

Re: [R] Saving R graphics with version 2.3.1

2006-06-14 Thread Ritwik Sinha
Hi, Have a jpeg() your plot function dev.off() That will direct your graphs to a file called "Rplots.jpg". Look for function "jpeg" and "png". On 6/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > HI ! > > I´ve installed the latest R version (2.3.1) and I´ve had problems to > save my

[R] Saving R graphics with version 2.3.1

2006-06-14 Thread ilka
HI ! I´ve installed the latest R version (2.3.1) and I´ve had problems to save my graphics as JPEG, PNG and the others available formats. R saves the file with no extension. Then, I have to open this file using an image visualizer and save it as PNG, for instance. Previous R versions work witho

Re: [R] Graphics device size

2006-04-11 Thread Christos Hatzis
Actually it does. Thank you, Prof. Ripley. -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 11, 2006 1:26 PM To: Christos Hatzis Cc: r-help@stat.math.ethz.ch Subject: Re: [R] Graphics device size On Tue, 11 Apr 2006, Prof Brian Ripley wrote

Re: [R] Graphics device size

2006-04-11 Thread Prof Brian Ripley
On Tue, 11 Apr 2006, Prof Brian Ripley wrote: > On Tue, 11 Apr 2006, Christos Hatzis wrote: > >> Dear All, >> >> When working with composite plots many times I have to manually adjust the >> graphics display window size to get the best results (in Windows XP). I can >> then find the size of the a

Re: [R] Graphics device size

2006-04-11 Thread Prof Brian Ripley
On Tue, 11 Apr 2006, Christos Hatzis wrote: > Dear All, > > When working with composite plots many times I have to manually adjust the > graphics display window size to get the best results (in Windows XP). I can > then find the size of the adjusted window in inches using par("din"). > > Now I wo

[R] Graphics device size

2006-04-11 Thread Christos Hatzis
Dear All, When working with composite plots many times I have to manually adjust the graphics display window size to get the best results (in Windows XP). I can then find the size of the adjusted window in inches using par("din"). Now I would like to export the adjusted graphs as png's and have

[R] Graphics device size

2006-04-11 Thread Christos Hatzis
Dear All, When working with composite plots many times I have to manually adjust the graphics display window size to get the best results (in Windows XP). I can then find the size of the adjusted window in inches using par("din"). Now I would like to export the adjusted graphs as png's and have

Re: [R] Graphics question

2006-03-02 Thread Prof Brian Ripley
xaxp=c(1,2,1) will do so, and look also at par(lab=). On Thu, 2 Mar 2006, Bowden, J.M. wrote: > > Hi > > I am trying to plot two points (with confidence intervals) on a graph to > illustrate the value of a particular quantity after 1 and 2 iterations > respectively. > > > I'm doing this by > > pl

Re: [R] Graphics question

2006-03-02 Thread Dimitris Rizopoulos
)16/337015 Web: http://www.med.kuleuven.be/biostat/ http://www.student.kuleuven.be/~m0390867/dimitris.htm - Original Message - From: "Bowden, J.M." <[EMAIL PROTECTED]> To: Sent: Thursday, March 02, 2006 4:41 PM Subject: [R] Graphics question > > Hi > >

[R] Graphics question

2006-03-02 Thread Bowden, J.M.
Hi I am trying to plot two points (with confidence intervals) on a graph to illustrate the value of a particular quantity after 1 and 2 iterations respectively. I'm doing this by plot(cycle,alpha[2,],main="",ylim=c(-8,-3),cex=2,col="red",pch=19,ylab=e xpression(alpha),xlab="cycle") Etc.. Whe

[R] Graphics Package --> stars()

2006-02-08 Thread Markus Preisetanz
Dear Collegues, does anybody know how I can place a legend at a sensible position in a star diagram automatically? The legend should tell the name of the variable (from colnames) for every color used. Sincerely, Markus ___ Markus Preisetanz Consultant Client V

Re: [R] graphics: axis label

2006-01-11 Thread Uwe Ligges
Johannes Hüsing wrote: > Hello, > par(las=1) sets the orientation of the axis labels > to horizontal. That is, the tick mark labels. How > do I set the orientation of the axis label, which > annotates the variable plotted along the axis, to > horizontal? > > Sorry for asking such a basic question

[R] graphics: axis label

2006-01-10 Thread Johannes Hüsing
Hello, par(las=1) sets the orientation of the axis labels to horizontal. That is, the tick mark labels. How do I set the orientation of the axis label, which annotates the variable plotted along the axis, to horizontal? Sorry for asking such a basic question here, but I haven't found anything in t

Re: [R] graphics pages?

2006-01-10 Thread Prof Brian Ripley
On Tue, 10 Jan 2006, Erin Hodgess wrote: > Dear R People: > > In S Plus, if you have a function which calls the plot > function several times, you get several "pages" of graphics > output. Only on a graphsheet, I believe. > Is there an eqivalent in R, please? Pretty close, on a windows() device

Re: [R] graphics pages?

2006-01-10 Thread Uwe Ligges
Erin Hodgess wrote: > Dear R People: > > In S Plus, if you have a function which calls the plot > function several times, you get several "pages" of graphics > output. > > Is there an eqivalent in R, please? Yes, for e.g. postscript() and pdf() devices the default is to plot each new plot on a

[R] graphics pages?

2006-01-10 Thread Erin Hodgess
Dear R People: In S Plus, if you have a function which calls the plot function several times, you get several "pages" of graphics output. Is there an eqivalent in R, please? R version 2.2.1 windows Thanks in advance! Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathem

Re: [R] question about R graphics-example plot attached

2005-11-19 Thread Mathieu Basille
Does 'rug' help you ? example(rug) ?rug Cheers Mathieu. jia ding a écrit : >-- Forwarded message -- >From: jia ding <[EMAIL PROTECTED]> >Date: Nov 2, 2005 4:03 PM >Subject: question about R graphics-example plot attached >To: [EMAIL P

Re: [R] question about R graphics-example plot attached

2005-11-08 Thread Marc Schwartz
On Tue, 2005-11-08 at 14:08 +0100, jia ding wrote: > -- Forwarded message -- > From: jia ding <[EMAIL PROTECTED]> > Date: Nov 2, 2005 4:03 PM > Subject: question about R graphics-example plot attached > To: [EMAIL PROTECTED] > > Suppose I have the data s

[R] question about R graphics-example plot attached

2005-11-08 Thread jia ding
-- Forwarded message -- From: jia ding <[EMAIL PROTECTED]> Date: Nov 2, 2005 4:03 PM Subject: question about R graphics-example plot attached To: [EMAIL PROTECTED] Suppose I have the data set like this: A 1 3 7 10 B 5 9 13 The numbers here actually is A or B'

Re: [R] Graphics question on putting axes in the margins

2005-11-04 Thread Robert Chung
Peter Flom wrote: > which I did using mfrow = c(3,3). > > I'd like to use the space on the page as efficiently as possible,so I > made the margins small, but that leaves no space for axes. Is there a > way to put axes only along the bottom and left side, so that a) The > individual qqplots mainta

[R] Graphics question on putting axes in the margins

2005-11-04 Thread Peter Flom
ce on the page is taken up by white space? I tried doing this with layout, but couldn't figure out how to do it (although I looked extensively at Paul Murrell's excellent book on R graphics) TIA Peter Peter L. Flom, PhD Assistant Director, Statistics and Data Analysis Core Center for D

Re: [R] R graphics help

2005-11-04 Thread TEMPL Matthias
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 gen

[R] R graphics help

2005-11-04 Thread shanmuha boopathy
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

Re: [R] Graphics window always overlaps console window!

2005-10-25 Thread mtb954
Thanks for your replies, I was unaware of these solutions. On 10/25/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Does anyone know how I can set up R so that when I make a graphic, the > graphics window remains behind the console window? It's annoying to > have to reach for the mouse every ti

Re: [R] Graphics window always overlaps console window!

2005-10-25 Thread P Ehlers
[EMAIL PROTECTED] wrote: > Does anyone know how I can set up R so that when I make a graphic, the > graphics window remains behind the console window? It's annoying to > have to reach for the mouse every time I want to type another line of > code (e.g., to add another line to the plot). Thanks. I

Re: [R] Graphics window always overlaps console window!

2005-10-25 Thread Marc Schwartz (via MN)
On Tue, 2005-10-25 at 13:07 -0500, Marc Schwartz (via MN) wrote: > On Tue, 2005-10-25 at 11:55 -0600, [EMAIL PROTECTED] wrote: > > Does anyone know how I can set up R so that when I make a graphic, the > > graphics window remains behind the console window? It's annoying to > > have to reach for the

  1   2   3   >