vpLocation {prada}R Documentation

Absolute location of current viewport

Description

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

Usage

vpLocation()

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

vpLocation()

[Package prada version 1.12.0 Index]