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

View source: R/render_plot_hovmoller.R

render_plot_hovmollerR Documentation

Plotting routine designed for the CM SAF R Toolbox.

Description

This function renders a hovmoller plot of two variables.

Usage

render_plot_hovmoller(
  outfile = NULL,
  fileExtension = ".png",
  visualizeVariables,
  imagewidth,
  imageheight,
  textsize,
  linesize,
  title_data1,
  title_data2,
  nc = NULL,
  nc2 = NULL
)

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).

textsize

Textsize to be used (cex).

linesize

Line width to be used (positive numeric).

title_data1

Title of the first data set

title_data2

Title of the second data set

nc

Alternatively to infile1 you can specify the input as an object of class ncdf4 (as returned from ncdf4::nc_open).

nc2

Alternatively to infile2 you can specify the input as an object of class ncdf4 (as returned from ncdf4::nc_open).


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