sl.plot.contours: Plot Contours

sl.plot.contoursR Documentation

Plot Contours

Description

Add contour lines to a spheRlab plot.

Usage

sl.plot.contours(plot.init.res, contours.res, indices = NULL, col = "black", lwd = 1, lty = 1, label.density = 1, cex.labels = 1)

Arguments

plot.init.res

a spheRlab plot specifics list as returned by sl.plot.init (or a variant thereof).

contours.res

a list of contours consisting of segments, as returned by sl.contours.

indices

an integer vector with indices indicating which contours (levels) of the contours list shall be plotted. If not specified, all contours are plotted.

col

A vector specifying the colours of the contour lines. If there are more contours than colours specified, the colours are recycled.

lwd

A vector specifying the line widths of the contour lines. If there are more contours than lines widths specified, the line widths are recycled.

lty

A vector specifying the line types of the contour lines. If there are more contours than lines types specified, the line types are recycled.

label.density

NOT YET USED. LABELLING TO BE IMPLEMENTED.

cex.labels

NOT YET USED. LABELLING TO BE IMPLEMENTED.

Details

The function uses sl.plot.lines to plot each segment of each contour line contained in contours.res.

Note

Automatic labelling shall be implemented at some point, making use at least of the two unused arguments.

Author(s)

Helge Goessling

See Also

sl.plot.lines

Examples

## To be provided ...

FESOM/spheRlab documentation built on March 7, 2024, 8:39 a.m.