# HG changeset patch # User greg # Date 1510591811 18000 # Node ID c24b519ad05e9a90f895171644b5d3784821e106 # Parent 5115076f136cd3c3e5196419fb325f25754ab31d Uploaded diff -r 5115076f136c -r c24b519ad05e insect_phenology_model.R --- a/insect_phenology_model.R Mon Nov 13 11:44:38 2017 -0500 +++ b/insect_phenology_model.R Mon Nov 13 11:50:11 2017 -0500 @@ -588,7 +588,7 @@ # Subfigure 1: population size by life stage title <- paste("BSMB total population by life stage :", opt$location, ": Lat:", latitude, ":", start_date, "to", end_date, sep=" ") -plot(day.all, sa, main=title, type="l", ylim=c(0, max(se + se.se, sn + sn.se, sa + sa.se)), axes=F, lwd=2, xlab="", ylab="total population", cex=3, cex.lab=3, cex.axis=3, cex.main=3) +plot(day.all, sa, main=title, type="l", ylim=c(0, max(se + se.se, sn + sn.se, sa + sa.se)), axes=F, lwd=2, xlab="", ylab="", cex=3, cex.lab=3, cex.axis=3, cex.main=3) # Young and old nymphs. lines(day.all, sn, lwd=2, lty=1, col=2) # Eggs @@ -612,7 +612,7 @@ # Subfigure 2: population size by generation title <- paste("BSMB total population by generation :", opt$location, ": Lat:", latitude, ":", start_date, "to", end_date, sep=" ") -plot(day.all, g0, main=title, type="l", ylim=c(0, max(g2)), axes=F, lwd=2, xlab="", ylab="total population", cex=3, cex.lab=3, cex.axis=3, cex.main=3) +plot(day.all, g0, main=title, type="l", ylim=c(0, max(g2)), axes=F, lwd=2, xlab="", ylab="", cex=3, cex.lab=3, cex.axis=3, cex.main=3) lines(day.all, g1, lwd = 2, lty = 1, col = 2) lines(day.all, g2, lwd = 2, lty = 1, col = 4) axis(1, at=c(1:12) * 30 - 15, cex.axis=3, labels = c("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec")) @@ -634,7 +634,7 @@ # Subfigure 3: adult population size by generation title <- paste("BSMB adult population by generation :", opt$location, ": Lat:", latitude, ":", start_date, "to", end_date, sep=" ") -plot(day.all, g0a, ylim=c(0, max(g2a) + 100), main=title, type="l", axes=F, lwd=2, xlab="", ylab="adult population", cex=3, cex.lab=3, cex.axis=3, cex.main=3) +plot(day.all, g0a, ylim=c(0, max(g2a) + 100), main=title, type="l", axes=F, lwd=2, xlab="", ylab="", cex=3, cex.lab=3, cex.axis=3, cex.main=3) lines(day.all, g1a, lwd = 2, lty = 1, col = 2) lines(day.all, g2a, lwd = 2, lty = 1, col = 4) axis(1, at=c(1:12) * 30 - 15, cex.axis=3, labels = c("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"))