plot_args_map: plot_args

Description Arguments

Description

optional arguments to be passed to plotting function.

Arguments

xlims, ylims

x and y limits of the plot. If not specified calculated from input data.

zlims

Limits of plot data. If not specified calculated from input data.

mask

Array of same dimension as gridded data (only if input data contains gridded data) containing 1 (mask) and NA (no mask). As default, values where all time steps of variable are NAs are masked.

mask_col

Color for data mask (only if input data contains gridded data). Must be a valid argument to col2rgb. If not specified by the user in make_object the mask contains all grid points where all values of the time series are missing values. Default = "lightgrey".

NA_col

Color for values where index is NA (for grid and points). Must be a valid argument to col2rgb. Default = "white".

p_pch:

pch of the points (see par). Values between 21:25 are implemented. Default is 21.

p_cex:

cex of points (number or array). Deefault is 2.

g_breaks/p_breaks

User defined breaks for plotting. If gridded data is plotted, g_breaks will be used for both grid and point data. If only point data is provided, p_breaks needs to be specified.

g_nlev/p_nlev

Number of levels for calculating breaks. If gridded data is plotted, g_nlev will be used for both grid and point data. If only point data is provided, p_nlev needs to be specified. If breaks are provided, nlev is ignored.

ratio

Ratio of lat/lon in plotting region. Default = diff(ylims)/diff(xlims).

pwidth

Width of plotting region of output (as input for jpeg, png, ...). Height is calculated in functions based on plot layout.

lwidth

Width of legend. Default = 1.

plwidth

Width of legend for points (not in all plot types). Default = 1.

text_sec

Numeric. Factor by which cex of text is multiplied (for title and axes).

text_cex

Value with which default cex of text (e.g. axes,title) is multiplied (important when changing dimensions of plots). Default=1

graphic_device

Arguments for graphics devices (in addition to filename, width and height ), depending on the output chosen see png or pdf. Ignored if output is NULL or "dev.new".

topo

A list containing three elements. 1) a matrix with altitude values, 2) the longitudes of 1) and 3) tha latitudes of 1). Note, that longitudes and latitudes need to correspond to the coordinates of the climate data.


Climandes/ClimIndVis documentation built on Oct. 24, 2021, 10:52 a.m.