You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
baptiste edited this page Aug 30, 2010
·
3 revisions
Text labels
library(ggplot2)
p= ggplot(data.frame(x=1,y=1,label="alpha"))
p+ geom_text(aes(x,y,label=label))
## use the parse argument to interpret the plotmath expression
( p2=p+ geom_text(aes(x,y,label=label), parse=TRUE) )