Re: [R] shading in line plots

2005-04-29 Thread James W. MacDonald
Mulholland, Tom wrote: Just a little bit of trivia. The 2001 Census in Australia had a significant group of people who responded to the question of religion with the answer Jedi or Jedi Knight. Unfortunately the Australian Bureau of Statistics is a bit fuddy duddy about the issue as they see it as

RE: [R] shading in line plots

2005-04-28 Thread Mulholland, Tom
I have snippets of code that I have either taken from examples or off of the list. I apologise to those I have stolen it from but I didn't keep the proper references. n <- 100 xx <- c(0:n, n:0) yy <- c(c(0,cumsum(rnorm(n))), rev(c(0,cumsum(rnorm(n) plot (xx, yy, type="n", xlab="Time", yla

RE: [R] shading in line plots

2005-04-28 Thread Mulholland, Tom
-Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Marc Schwartz > Sent: Friday, 29 April 2005 2:37 AM > To: Andy Bunn > Cc: R-Help; Barry Rowlingson > Subject: RE: [R] shading in line plots > > > On Thu, 2005-04-28 at 13:53 -0400, And

RE: [R] shading in line plots

2005-04-28 Thread Marc Schwartz
On Thu, 2005-04-28 at 13:53 -0400, Andy Bunn wrote: > > PS 6 days to the big Jedi holiday! > > I wonder if anybody who gave the matter any thought would be surprised that > the R-Help list is populated by ubergeeks. Perhaps, but we all managed to miss Pi Day last month > Pi.Day <- as.POSIXct

RE: [R] shading in line plots

2005-04-28 Thread Andy Bunn
> PS 6 days to the big Jedi holiday! I wonder if anybody who gave the matter any thought would be surprised that the R-Help list is populated by ubergeeks. __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do r

Re: [R] shading in line plots

2005-04-28 Thread Marc Schwartz
On Thu, 2005-04-28 at 19:02 +0200, Achim Zeileis wrote: > On Thu, 28 Apr 2005 11:50:29 -0500 Marc Schwartz wrote: > > > On Thu, 2005-04-28 at 18:33 +0200, Achim Zeileis wrote: > > > On Thu, 28 Apr 2005 12:22:51 -0400 Rajarshi Guha wrote: > > > > > > > On Thu, 2005-04-28 at 17:01 +0200, Henric Nil

Re: [R] shading in line plots

2005-04-28 Thread Erin Hodgess
There is a force function in the Base package! Does that counteract the evil of the try function? Erin __ 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/post

Re: [R] shading in line plots

2005-04-28 Thread Barry Rowlingson
Marc Schwartz wrote: Shouldn't that be more like: "Much to learn you have still, young apprentice mine" R offends my Jedi religious sensibilities by having a 'try' function. [see: http://www.starwars.com/databank/character/yoda/ about four paras from bottom] Baz PS 6 days to the big Jedi holida

Re: [R] shading in line plots

2005-04-28 Thread Achim Zeileis
On Thu, 28 Apr 2005 11:50:29 -0500 Marc Schwartz wrote: > On Thu, 2005-04-28 at 18:33 +0200, Achim Zeileis wrote: > > On Thu, 28 Apr 2005 12:22:51 -0400 Rajarshi Guha wrote: > > > > > On Thu, 2005-04-28 at 17:01 +0200, Henric Nilsson wrote: > > > > Heather Joan Lynch said the following on 2005-04

Re: [R] shading in line plots

2005-04-28 Thread Marc Schwartz
On Thu, 2005-04-28 at 18:33 +0200, Achim Zeileis wrote: > On Thu, 28 Apr 2005 12:22:51 -0400 Rajarshi Guha wrote: > > > On Thu, 2005-04-28 at 17:01 +0200, Henric Nilsson wrote: > > > Heather Joan Lynch said the following on 2005-04-28 16:14: > > > > > First, citing Simon `Yoda' Blomberg, "This is

Re: [R] shading in line plots

2005-04-28 Thread Achim Zeileis
On Thu, 28 Apr 2005 12:22:51 -0400 Rajarshi Guha wrote: > On Thu, 2005-04-28 at 17:01 +0200, Henric Nilsson wrote: > > Heather Joan Lynch said the following on 2005-04-28 16:14: > > > First, citing Simon `Yoda' Blomberg, "This is R. There is no if. > > Only how." > > I hope this quote makes into

Re: [R] shading in line plots

2005-04-28 Thread Rajarshi Guha
On Thu, 2005-04-28 at 17:01 +0200, Henric Nilsson wrote: > Heather Joan Lynch said the following on 2005-04-28 16:14: > First, citing Simon `Yoda' Blomberg, "This is R. There is no if. Only how." I hope this quote makes into the fortunes package :) --

Re: [R] shading in line plots

2005-04-28 Thread Marc Schwartz
On Thu, 2005-04-28 at 10:14 -0400, Heather Joan Lynch wrote: > Hello, > > I cannot figure out how to shade between two lines in a plot. For > example, if I am trying to plot a confidence envelope and I would like to > shade the interior of the envelope grey. Is this possible in R? > > Thanks in

Re: [R] shading in line plots

2005-04-28 Thread Henric Nilsson
Heather Joan Lynch said the following on 2005-04-28 16:14: I cannot figure out how to shade between two lines in a plot. For example, if I am trying to plot a confidence envelope and I would like to shade the interior of the envelope grey. Is this possible in R? First, citing Simon `Yoda' Blomber