aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Kellner <ken.kellner@gmail.com>2014-08-14 00:10:46 (GMT)
committerKen Kellner <ken.kellner@gmail.com>2014-08-14 00:10:46 (GMT)
commit9cc1848f80a7463fa2963598a325aea9fb4c6349 (patch)
tree8aae39fea1c3a43390ac1062ab51cb80069bcaeb
parenta1b693eec491782c771cf2b5b7ef372272b82db7 (diff)
Fix figure legend.
-rw-r--r--figure_id_logistic.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/figure_id_logistic.R b/figure_id_logistic.R
index b058e38..0af344a 100644
--- a/figure_id_logistic.R
+++ b/figure_id_logistic.R
@@ -40,7 +40,7 @@ tiff(filename="KellnerFig1.tiff",width=4.5,height=3.5,units="in",res=400, points
barplot(t(d), beside=T, ylim=c(0,1), names=c('1971', '1981', '1991','2001','2011'),
ylab=italic(p)~"IID", xlab="Year",
col=c("red","blue","orange","purple","yellow","green"))
-legend(0.5,1,c("Fish","Mammals","Herps","Birds", "Insects","Plants"),bty='n',
+legend(0.5,1,c("Fish","Mammals","Herps","Birds", "Invertebrates","Plants"),bty='n',
fill=c("red","blue","orange","purple","yellow","green"),ncol=2)
#Draw error bars on plot