PredictiveEcology / CBMutils

Utilities for modelling carbon in R based on CBM-CFS3
0 stars 0 forks source link

plotting functions #4

Open cboisvenue opened 4 years ago

cboisvenue commented 4 years ago

the spatialPlot() function is used twice, once at the beginning of the simulations, and once with 3 other plots at the end (totalling 5 plots). The current behaviour is to make a new plot over the original one made at the beginning of the simulations. I tried all kinds of things in quickPlot and could not get the desired behaviour: keep the original plot, and add this spatialPlot() result post simulations to the 4 plots. I get it it to replace it (new = TRUE), but not to add it. The carbonOutPlot() functions overlays lines of emissions with bars of the products. The line needs a legend. I was not successful in getting ggplot2 to cooperate.