Hi all,
I am trying to compare catch vs day over a ten year period, and the graph
looks great except for the individual dates. there are so many that my x
axis labels have become one giant black line. Can I only label some of the
days or will I be unable to fix this using a barchart?
data is called chipps
year.f<-factor(chipps$Year,levels=c(2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011))
barchart(chipps$Catch~chipps$Day|year.f,layout=c(2,5),border="transparent",
col=c("red"),scales=list(x=list(tick.number=30)))
Day year catch
1/10 2001 1
1/10 2002 4
5/30 2002 5
2/27 2003 1
1/10 2004 3
5/30 2003 6
2/27 2006 3
6/5 2006 6
7/25 2006 7
5/30 2006 6
2/27 2009 2
1/10 2011 8
5/30 2004 3
2/27 2007 7
6/5 2008 5
12/7 2006 4
Lauren L.
Beginner in R
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.