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

View source: R/render_plot_scatter.R

render_plot_scatterR Documentation

Plotting routine designed for the CM SAF R Toolbox.

Description

This function renders a scatter plot of two variables.

Usage

render_plot_scatter(
  outfile = NULL,
  fileExtension = ".png",
  visualizeVariables,
  dateformat,
  ticknumber,
  imagewidth,
  imageheight,
  text1_1d,
  text2_1d,
  textsize,
  linesize,
  x_axis_label_1d,
  y_axis_label_1d,
  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).

dateformat

Date format for constructing a date label.

ticknumber

Number of ticks (numeric).

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

linesize

Line width to be used (positive numeric).

x_axis_label_1d

x-label (first data set)

y_axis_label_1d

y-label (second data set)

timestep_1d_visualize

Selected timestemp


cmsafvis documentation built on Sept. 15, 2023, 5:15 p.m.