Jim Porzak
unread,Jun 2, 2009, 3:17:42 PM6/2/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ggplot2
I must be missing something simple!
I'm attempting to annotate a line plot with arrows & text.
toy example:
library(ggplot2) #ggplot2 version 0.8.3
p <- qplot(1:10, 2:3, geom = "line")
p
p + geom_segment(aes(4, 2.5, xend = 6, yend = 2.5, arrow=arrow
(length=unit(0.1,"cm"))))
misses arrow head.
Have tried various lengths.
> R.version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor 9.0
year 2009
month 04
day 17
svn rev 48333
language R
version.string R version 2.9.0 (2009-04-17)
TIA,
Jim