Mercurial > repos > greg > insect_phenology_model
changeset 15:dd86ee185113 draft
Uploaded
author | greg |
---|---|
date | Mon, 05 Mar 2018 08:27:27 -0500 |
parents | 4aadc28100b0 |
children | 309954bbe999 |
files | insect_phenology_model.R |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/insect_phenology_model.R Mon Mar 05 08:27:17 2018 -0500 +++ b/insect_phenology_model.R Mon Mar 05 08:27:27 2018 -0500 @@ -246,7 +246,7 @@ if (life_stage=="Egg") { title = paste(insect, ": Reps", replications, ":", life_stage, "Pop :", location, ": Lat", latitude, ":", start_date, "-", end_date, sep=" "); legend_text = c(life_stage); - columns = c(4); + columns = c(4); } else if (life_stage=="Nymph") { stage = paste(life_stage_nymph, "Nymph Pop :", sep=" "); title = paste(insect, ": Reps", replications, ":", stage, location, ": Lat", latitude, ":", start_date, "-", end_date, sep=" "); @@ -916,7 +916,7 @@ end_date = temperature_data_frame$DATE[opt$num_days]; if (plot_generations_separately) { - for (life_stage in life_stages) {} + for (life_stage in life_stages) { if (life_stage == "Egg") { # Start PDF device driver. dev.new(width=20, height=30); @@ -971,6 +971,7 @@ # Turn off device driver to flush output. dev.off(); } + } } else { for (life_stage in life_stages) { if (life_stage == "Egg") {