render_plot_hist_compare: Plotting routine designed for the CM SAF R Toolbox.

View source: R/render_plot_hist_compare.R

render_plot_hist_compareR Documentation

Plotting routine designed for the CM SAF R Toolbox.

Description

This function renders a histogram of two variables.

Usage

render_plot_hist_compare(
  outfile = NULL,
  fileExtension = ".png",
  visualizeVariables,
  imagewidth,
  imageheight,
  text1_1d,
  text2_1d,
  textsize,
  legend_label1,
  legend_label2,
  timestep_1d_visualize
)

Arguments

outfile

Name of the outfile (NULL or character). Should match the fileExtension. If NULL is passed a file is created in the R session temporary directory.

fileExtension

The file extension of the image (character). Has to be one of the following: 'png', 'jpg', 'tif', 'kml', 'pdf'.

visualizeVariables

A data frame containing all meta data for the plotting process (data.frame).

imagewidth

Width of the image (numeric).

imageheight

Height of the image (numeric).

text1_1d

Title text (character).

text2_1d

Text to be passed to graphics::mtext (character).

textsize

Textsize to be used (cex).

legend_label1

Legend label of the first data set

legend_label2

Legend label of the second data set

timestep_1d_visualize

Selected timestemp


cmsafvis documentation built on March 18, 2022, 6:23 p.m.