#' Plot pc, simple and complex
#'
#' Plots the input variables.
#'
#' @param chamber_Totalpc_using_simple_Delta_for_gm xxxPARAMxxx
#' @param chamber_Totalpc_using_simple_Delta_for_modeling xxxPARAMxxx
#' @param chamber_Totalpc_using_complex_Delta_no_decarboxylation xxxPARAMxxx
#' @param chamber_Totalpc_using_complex_Delta_full_model xxxPARAMxxx
#' @param x_time xxxPARAMxxx
#' @param plot_format_list xxxPARAMxxx
#' @param output_fn_prefix xxxPARAMxxx
#'
#' @return NULL xxxRETURNxxx
#' @importFrom graphics par
#'
plot_pc_simple_complex <-
function# Plot pc, simple and complex
###
(chamber_Totalpc_using_simple_Delta_for_gm
###
, chamber_Totalpc_using_simple_Delta_for_modeling
###
, chamber_Totalpc_using_complex_Delta_no_decarboxylation
###
, chamber_Totalpc_using_complex_Delta_full_model
###
, x_time
###
, plot_format_list
###
, output_fn_prefix
###
)
{
##details<<
## Plots the input variables.
for (i_plot in plot_format_list)
{
plot_filename <- "plot_pc_simple_complex";
s_plot_settings_begin_end(output_fn_prefix, plot_filename, plot_mode = "begin", plot_format = i_plot);
graphics::par(mfrow=c(4,1), mar=c(4,4,2,2), oma=c(1,1,1,1)); # mar allows the histograms to touch top-bottom c(bot,lef,top,rig)
plot_not_na(x_time, chamber_Totalpc_using_simple_Delta_for_gm , pch=20, type="l", ylab="", main="Total pc using simple D for gm, includes boundary layer");
plot_not_na(x_time, chamber_Totalpc_using_simple_Delta_for_modeling , pch=20, type="l", ylab="", main="Total pc using simple D for modeling");
plot_not_na(x_time, chamber_Totalpc_using_complex_Delta_no_decarboxylation, pch=20, type="l", ylab="", main="Total pc using complex D, no decarboxylation");
plot_not_na(x_time, chamber_Totalpc_using_complex_Delta_full_model , pch=20, type="l", ylab="", main="Total pc using complex D, full model");
#axis(3); axis(4); # add axis labels to top and right sides
s_plot_settings_begin_end(output_fn_prefix, plot_filename, plot_mode = "end", i_plot);
} # plotting loop
invisible(NULL);
### NULL
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.