R/plot_Licor_flow_press.R

#' Plot Licor uin, xin, La, Atm_press values 7/21/2012
#'
#' Plots the input variables.
#'
#' @param Licor_flow_uin xxxPARAMxxx
#' @param Licor_H2OR_xin xxxPARAMxxx
#' @param Licor_La xxxPARAMxxx
#' @param Licor_Atm_press xxxPARAMxxx
#' @param x_time xxxPARAMxxx
#' @param plot_format_list xxxPARAMxxx
#' @param output_fn_prefix xxxPARAMxxx
#'
#' @return NULL xxxRETURNxxx
#' @importFrom graphics par
#'
plot_Licor_flow_press <-
function# Plot Licor uin, xin, La, Atm_press values 7/21/2012
###
(Licor_flow_uin
###
, Licor_H2OR_xin
###
, Licor_La
###
, Licor_Atm_press
###
, x_time
###
, plot_format_list
###
, output_fn_prefix
###
)
{
  ##details<<
  ## Plots the input variables.

  for (i_plot in plot_format_list)
  {
    plot_filename <- "plot_Licor_flow_press";
    s_plot_settings_begin_end(output_fn_prefix, plot_filename, plot_mode = "begin", plot_format = i_plot);

    graphics::par(mfrow=c(2,2), 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, Licor_flow_uin   , pch=20, type="l", ylab="", main="Licor_flow_uin");
    plot_not_na(x_time, Licor_H2OR_xin   , pch=20, type="l", ylab="", main="Licor_H2OR_xin");
    plot_not_na(x_time, Licor_La         , pch=20, type="l", ylab="", main="Licor_La");
    plot_not_na(x_time, Licor_Atm_press        , pch=20, type="l", ylab="", main="Licor_Atm_press");

    #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
}
erikerhardt/isogasex documentation built on July 16, 2019, 5:25 a.m.