sl.plot.end: Finish Plot

View source: R/sl.plot.end.R

sl.plot.endR Documentation

Finish Plot

Description

Finish a spheRlab plot.

Usage

sl.plot.end(plot.init.res, line.border = TRUE, col.border = "black", precision = 1, lwd.border = 1, lty.border = 1, do.close.device = TRUE)

Arguments

plot.init.res

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

line.border

a logical value indicating whether or not to draw lines along the plot boundaries.

col.border

the colour of the plot boundary lines.

precision

a scalar specifying for curved boundaries the precision (in degrees) at which these are broken into straight line segments.

lwd.border

a scalar specifying the line width of the boundaries.

lty.border

the line type of the boundaries.

do.close.device

a logical value specifying whether to call dev.off() to close the corresponding device in the end. Default is do.close.device=plot.init.res$do.init.device.

Details

Instead of using this function, a plot initialised by sl.plot.init or any variant thereof could also simply be closed using dev.off. However, sl.plot.end allows one to draw plot boundary lines in an automated way before dev.off is called by sl.plot.end.

For a plot initialised with sl.plot.platon.init, use sl.plot.platon.end instead of this function.

Author(s)

Helge Goessling

See Also

sl.plot.init, sl.plot.platon.end

Examples

## To be provided ...

FESOM/spheRlab documentation built on April 6, 2024, 6:52 p.m.