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

View source: R/render_plot_1d.R

render_plot_1dR Documentation

Plotting routine designed for the CM SAF R Toolbox.

Description

This function renders a 1D plot of data at one single lon / lat point.

Usage

render_plot_1d(
  outfile = NULL,
  fileExtension = ".png",
  visualizeVariables,
  ticknumber,
  dateformat,
  analyze_timeseries,
  addTrend,
  sliderx,
  slidery,
  checkGroup_type,
  imagewidth,
  imageheight,
  text1_1d,
  text2_1d,
  text3_1d,
  text4_1d,
  textsize,
  linesize,
  col
)

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

ticknumber

Number of ticks (numeric).

dateformat

Date format for constructing a date label.

analyze_timeseries

Whether or not to analyze the timeseries of the given point (logical).

addTrend

Whether to add a trend line (logical).

sliderx

Limiting the time series with a two valued vector for min and max (numeric).

slidery

Limiting the y axis with a two valued vector for min and max (numeric).

checkGroup_type

An integer between 1 and 5 indicating group type (numeric). 1 for Line, 2 for Points, 3 for Line and Points, 4 for steps, 5 for histogram.

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

text3_1d

X-label (character).

text4_1d

Y-label (character).

textsize

Textsize to be used (cex).

linesize

Line width to be used (positive numeric).

col

A color chosen via colourpicker::colourInput.


cmsafvis documentation built on Sept. 30, 2024, 5:07 p.m.