Mercurial > repos > greg > insect_phenology_model
changeset 53:9dc9dc41851b draft
Uploaded
author | greg |
---|---|
date | Mon, 13 Nov 2017 11:30:28 -0500 |
parents | 48891e7bcb65 |
children | 5115076f136c |
files | insect_phenology_model.R |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/insect_phenology_model.R Mon Nov 13 11:30:21 2017 -0500 +++ b/insect_phenology_model.R Mon Nov 13 11:30:28 2017 -0500 @@ -587,8 +587,8 @@ 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=" ") -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) +title <- paste("BSMB Total Population Size 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="Number", 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 @@ -611,8 +611,8 @@ } # Subfigure 3: population size by generation -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) +title <- paste("BSMB Total Population Size 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="Number", 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")) @@ -633,8 +633,8 @@ } # 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=" ") -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) +title <- paste("BSMB Adult Population Size 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="Year", ylab="Number", 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"))