I'm a bit confused what you're trying to accomplish - the mix of
annotate() and geom_text() is confusing. The following code works for
me, and I think might be what you want:
ggplot(ins, aes(td, glucose)) +
geom_point(colour = "red") +
geom_line(colour = "blue") +
annotate("text", x = texdat
I am trying to annotate a graph using geom_text() and I seem to be
misunderstanding how to use a date in the co-ordinates---or, at least, I think
that is the problem. Code is below.
Can anyone give me a suggestion of where I am going wrong?
Thanks,
John
John Kane
Kingston ON Canada
###
2 matches
Mail list logo