Learn R Programming

prada (version 1.48.0)

vpLocation: Absolute location of current viewport

Description

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

Usage

vpLocation()

Arguments

Value

location, size, ilocation and isize, the location and size of the viewport in pixels and iches respectively.

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.

See Also

plotPlate, devRes

Examples

Run this code
vpLocation()

Run the code above in your browser using DataLab