Re: [R] Putting names on a ggplot

2009-10-22 Thread John Kane
--- On Tue, 10/20/09, hadley wickham h.wick...@gmail.com wrote: From: hadley wickham h.wick...@gmail.com Subject: Re: [R] Putting names on a ggplot To: John Kane jrkrid...@yahoo.ca Cc: m...@z107.de, R R-help r-h...@stat.math.ethz.ch Received: Tuesday, October 20, 2009, 10:59 AM On Sun

Re: [R] Putting names on a ggplot - fortune candidate?

2009-10-21 Thread Jim Lemon
On 10/21/2009 01:59 AM, hadley wickham wrote: It currently works (because I can't figure out how to make it an error) but you really should not do it. Please pardon my nomination, Hadley, but that is just too good to pass up. Jim __

Re: [R] Putting names on a ggplot

2009-10-20 Thread hadley wickham
On Sun, Oct 18, 2009 at 10:29 AM, John Kane jrkrid...@yahoo.ca wrote: Thanks Stefan, the annotate approach works beautifully.  I had not got that far in Hadley's book apparently :( I'm not convinced though that the explaination you shouldn't use aes in this case since nampost, temprange,

Re: [R] Putting names on a ggplot

2009-10-18 Thread John Kane
Subject: Re: [R] Putting names on a ggplot To: John Kane jrkrid...@yahoo.ca Cc: R R-help r-h...@stat.math.ethz.ch Received: Saturday, October 17, 2009, 5:53 PM hi, On Sat, Oct 17, 2009 at 02:04:43PM -0700, John Kane wrote: Putting names on a ggplot p - p + geom_text(aes(x = namposts

Re: [R] Putting names on a ggplot

2009-10-18 Thread ml
= --- On Sat, 10/17/09, m...@z107.de m...@z107.de wrote: From: m...@z107.de m...@z107.de Subject: Re: [R] Putting names on a ggplot To: John Kane jrkrid...@yahoo.ca Cc: R R-help r-h...@stat.math.ethz.ch Received: Saturday, October 17, 2009, 5:53 PM hi, On Sat, Oct 17, 2009 at 02:04:43PM

Re: [R] Putting names on a ggplot

2009-10-18 Thread John Kane
--- On Sun, 10/18/09, m...@z107.de m...@z107.de wrote: From: m...@z107.de m...@z107.de Subject: Re: [R] Putting names on a ggplot To: John Kane jrkrid...@yahoo.ca Cc: R R-help r-h...@stat.math.ethz.ch Received: Sunday, October 18, 2009, 6:05 PM hello, On Sun, Oct 18, 2009 at 08:29:19AM

[R] Putting names on a ggplot

2009-10-17 Thread John Kane
Putting names on a ggplot Can anyone suggest what I am doing wrong here. I am plotting daily temperatures at Ottawa Ontario for 2008 broken down by months, I seperate them by lines and want to put the names of the months at the top of the chart ( with in the graphing area) Everything is working

Re: [R] Putting names on a ggplot

2009-10-17 Thread ml
hi, On Sat, Oct 17, 2009 at 02:04:43PM -0700, John Kane wrote: Putting names on a ggplot p - p + geom_text(aes(x = namposts + 2.5, y = temprange[2], label = mlabs), data = year, size = 2.5, colour='black', hjust = 0, vjust = 0) you shouldn't use aes in this case since nampost,

Re: [R] Putting names on a ggplot

2009-10-17 Thread smu
hi, On Sat, Oct 17, 2009 at 02:04:43PM -0700, John Kane wrote: Putting names on a ggplot p - p + geom_text(aes(x = namposts + 2.5, y = temprange[2], label = mlabs), data = year, size = 2.5, colour='black', hjust = 0, vjust = 0) you shouldn't use aes in this case since nampost,