Generic plotting showing results of microPop Now shows resources and microbes on one plot.
quickPlot2( soln, numR, numStrains, microbeNames, yLabel = "Concentration (g/L)", xLabel = "Time", sumOverStrains = TRUE, resourceLegendPosition = "topleft", microbeLegendPosition = "topleft", saveFig = FALSE, figType = "eps", figName = "microPopFig", cex.plot = 1, cex.legend = 0.7 )
soln
: ODE output from microPopModel() i.e. matrix out$solutionnumR
: Scalar. Number of resourcesnumStrains
: Scalar. Number of strains per groupmicrobeNames
: Vector of strings which contains the names of the microbial groups in the system e.g. c('Bacteroides','Acetogens')yLabel
: String for y axis label. Default is "Concentration (g/L)"xLabel
: String for x axis label. Default is "Time"sumOverStrains
: Logical. Default=TRUEresourceLegendPosition
: String. Position of legend in resource plot, default is 'topleft'microbeLegendPosition
: String. Position of legend in microbe plot, default is 'topleft'saveFig
: Logical. Default is FALSEfigType
: String. Default is "eps"figName
: String. Default is "microPopFig"cex.plot
: Multiplier for text size on axes text. Default is 1cex.legend
: Multiplier for text size in legend. Default is 0.7Nothing just generates a plot