--- On Tue, 10/20/09, hadley wickham wrote:
> From: hadley wickham
> Subject: Re: [R] Putting names on a ggplot
> To: "John Kane"
> Cc: m...@z107.de, "R R-help"
> Received: Tuesday, October 20, 2009, 10:59 AM
> On Sun, Oct 18, 2009 at 10:29 AM,
> J
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
__
R-help@r-pro
On Sun, Oct 18, 2009 at 10:29 AM, John Kane 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, ... are not
--- On Sun, 10/18/09, m...@z107.de wrote:
> From: m...@z107.de
> Subject: Re: [R] Putting names on a ggplot
> To: "John Kane"
> Cc: "R R-help"
> Received: Sunday, October 18, 2009, 6:05 PM
> hello,
>
> On Sun, Oct 18, 2009 at 08:29:19AM -0
tercept= mbs) +
> ylab("Temperature (C)") + xlab("Daily Temperatures") +
> geom_text(aes(x = namposts+2.5, y = trange[2], label = mlabs),
> data = timedata, size = 2.5, colour='black', hjust = 0, vjust = 0)
> p
>
>
>
==================
--- On Sat, 10/17/09, m...@z107.de wrote:
> From: m...@z107.de
> Subject: Re: [R] Putting names on a ggplot
> To: "John Kane"
> Cc: "R R-help"
> Received: Saturday, October 17, 2009, 5:53 PM
> hi,
>
>
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,
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
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
9 matches
Mail list logo