vpLocation: Absolute location of current viewport

Description Usage Details Value Author(s) See Also Examples

View source: R/plotPlate.R

Description

Calculates the absolute location and size of the current grid viewport in inches and pixels.

Usage

1

Details

This function may be used to get the absolute location of the current viewport on the current graphics device. It uses function devRes to get the device resolution for calculating pixel values. Locations are given by the two extreme coordinates in x and y direction.

Value

A list with items location, size, ilocation and isize, the location and size of the viewport in pixels and iches respectively.

Author(s)

Florian Hahne

See Also

plotPlate, devRes

Examples

1

prada documentation built on April 28, 2020, 7:52 p.m.