# HG changeset patch # User greg # Date 1510252864 18000 # Node ID 21e8dc696db337321a4d85604427225134896965 # Parent 17f9578b7391b829efe3a6d5b4e2b24b8120ddfc Uploaded diff -r 17f9578b7391 -r 21e8dc696db3 insect_phenology_model.R --- a/insect_phenology_model.R Thu Nov 09 13:39:29 2017 -0500 +++ b/insect_phenology_model.R Thu Nov 09 13:41:04 2017 -0500 @@ -588,7 +588,7 @@ par(mar = c(5, 6, 4, 4), mfrow=c(3, 1)) # Subfigure 2: population size by life stage -title <- paste(opt$location, start_date, "to", end_date, "BSMB Total Population Size by Life Stage", sep=" ") +title <- paste(opt$location, ",", start_date, "to", end_date, ": BSMB Total Population Size by Life Stage", 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="Number", cex=2, cex.lab=2, cex.axis=2, cex.main=2) # Young and old nymphs. lines(day.all, sn, lwd=2, lty=1, col=2) @@ -612,7 +612,7 @@ } # Subfigure 3: population size by generation -title <- paste(opt$location, start_date, "to", end_date, "BSMB Total Population Size by Generation", sep=" ") +title <- paste(opt$location, ",", start_date, "to", end_date, ": BSMB Total Population Size by Generation", sep=" ") plot(day.all, g0, main=title, type="l", ylim=c(0, max(g2)), axes=F, lwd=2, xlab="", ylab="Number", cex=2, cex.lab=2, cex.axis=2, cex.main=2) lines(day.all, g1, lwd = 2, lty = 1, col = 2) lines(day.all, g2, lwd = 2, lty = 1, col = 4) @@ -634,7 +634,7 @@ } # Subfigure 4: adult population size by generation -title <- paste(opt$location, start_date, "to", end_date, "BSMB Adult Population Size by Generation", sep=" ") +title <- paste(opt$location, ",", start_date, "to", end_date, ": BSMB Adult Population Size by Generation", sep=" ") plot(day.all, g0a, ylim=c(0, max(g2a) + 100), main=title, type="l", axes=F, lwd=2, xlab="Year", ylab="Number", cex=2, cex.lab=2, cex.axis=2, cex.main=2) lines(day.all, g1a, lwd = 2, lty = 1, col = 2) lines(day.all, g2a, lwd = 2, lty = 1, col = 4)