# HG changeset patch # User greg # Date 1511374729 18000 # Node ID b387ea636ff8fdd5429d5dcc11137bfeed324bef # Parent 522fe34a1dfc459d68e6ae3b9d0770329366f7ee Uploaded diff -r 522fe34a1dfc -r b387ea636ff8 insect_phenology_model.R --- a/insect_phenology_model.R Wed Nov 22 13:14:08 2017 -0500 +++ b/insect_phenology_model.R Wed Nov 22 13:18:49 2017 -0500 @@ -576,7 +576,7 @@ par(mar = c(5, 6, 4, 4), mfrow=c(3, 1)) # Subfigure 1: population size by life stage -title <- paste("opt$insect : Total pop. by life stage :", opt$location, ": Lat:", latitude, ":", start_date, "-", end_date, sep=" ") +title <- paste(opt$insect, ": Total pop. by life stage :", opt$location, ": Lat:", latitude, ":", start_date, "-", 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="", 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) @@ -600,7 +600,7 @@ } # Subfigure 2: population size by generation -title <- paste("opt$insect : Total pop. by generation :", opt$location, ": Lat:", latitude, ":", start_date, "-", end_date, sep=" ") +title <- paste(opt$insect, ": Total pop. by generation :", opt$location, ": Lat:", latitude, ":", start_date, "-", end_date, sep=" ") 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) @@ -622,7 +622,7 @@ } # Subfigure 3: adult population size by generation -title <- paste("opt$insect : Adult pop. by generation :", opt$location, ": Lat:", latitude, ":", start_date, "-", end_date, sep=" ") +title <- paste(opt$insect, ": Adult pop. by generation :", opt$location, ": Lat:", latitude, ":", start_date, "-", end_date, sep=" ") 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)