# HG changeset patch # User greg # Date 1510590078 18000 # Node ID 35c7c8de5193a03e567375f8d6e6be7ce62aa8b0 # Parent 0579901169fb96a4e00e8fc86e3b0f739ec93ed7 Uploaded diff -r 0579901169fb -r 35c7c8de5193 insect_phenology_model.R --- a/insect_phenology_model.R Mon Nov 13 11:17:50 2017 -0500 +++ b/insect_phenology_model.R Mon Nov 13 11:21:18 2017 -0500 @@ -587,7 +587,7 @@ par(mar = c(5, 6, 4, 4), mfrow=c(3, 1)) # Subfigure 2: population size by life stage -title <- paste("BSMB Total Population Size by Life Stage:", opt$location, ", Latitude:", latitude, "," start_date, "to", end_date, sep=" ") +title <- paste("BSMB Total Population Size by Life Stage:", opt$location, ", Latitude:", 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="Number", cex=3, cex.lab=2, cex.axis=3, cex.main=3) # Young and old nymphs. lines(day.all, sn, lwd=2, lty=1, col=2) @@ -611,7 +611,7 @@ } # Subfigure 3: population size by generation -title <- paste("BSMB Total Population Size by Generation:", opt$location, ", Latitude:", latitude, "," start_date, "to", end_date, sep=" ") +title <- paste("BSMB Total Population Size by Generation:", opt$location, ", Latitude:", 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="Number", cex=3, cex.lab=2, 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) @@ -633,7 +633,7 @@ } # Subfigure 4: adult population size by generation -title <- paste("BSMB Adult Population Size by Generation:", opt$location, ", Latitude:", latitude, "," start_date, "to", end_date, sep=" ") +title <- paste("BSMB Adult Population Size by Generation:", opt$location, ", Latitude:", 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="Year", ylab="Number", cex=3, cex.lab=2, 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)