aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Kellner <ken.kellner@gmail.com>2016-09-16 20:00:13 (GMT)
committerKen Kellner <ken.kellner@gmail.com>2016-09-16 20:00:13 (GMT)
commit40cf4216234938f36559f53867329f8e9c8818bc (patch)
tree6dadcd12745e5c0d8a9396b4437c0dd9eeaf8b41
parent8121ecd358248cacaba6e3207e335d7659ab57b3 (diff)
Match production figure to paper.
-rw-r--r--figures/fig2_acorn_production.R4
1 files changed, 2 insertions, 2 deletions
diff --git a/figures/fig2_acorn_production.R b/figures/fig2_acorn_production.R
index 5048444..13837af 100644
--- a/figures/fig2_acorn_production.R
+++ b/figures/fig2_acorn_production.R
@@ -8,7 +8,7 @@ treedata = read.csv('data/hee_treedata.csv',header=TRUE)
#Generate plot variables
nspecies = 2
-nyears = 6
+nyears = 5
#Create empty matrix
graph.data = matrix(NA,nrow=nspecies,ncol=nyears)
@@ -22,7 +22,7 @@ for (i in 1:nspecies){
}}
#Plot data
-barplot(graph.data, beside=TRUE, names=c("2006","2007","2008","2009","2010","2011"),
+barplot(graph.data, beside=TRUE, names=c("2006","2007","2008","2009","2010"),
xlab="Year", ylab="Collected Acorns (Oct-Dec)",
col=c('black','gray'), ylim=c(0,600))