search for: tempob

Displaying 1 result from an estimated 1 matches for "tempob".

Did you mean: tempo
2013 Jan 24
1
Insert segment only on particular facets in ggplot
...I want to annotate the facets only on the bottom panel. However, by default I am getting annotations on all the plots. I was able to get text annotation only on the desired plot. However, I am confused what I need to do for the arrows / segments. Here is my code: library(ggplot2) library(grid) tempobs <- read.csv("temp data share.csv",header=T, sep=",") p1 <- ggplot(tempobs,aes(x=time,y=data))+geom_point(data=tempobs,aes(x=time,y=data,colour=group1))+facet_wrap(~id,ncol=1)+theme_bw() p1 <- p1 + xlab("Julian Day (2008-2009)")+ylab(expression(Temperature~(de...