devRes {prada}R Documentation

Resolution of current plotting device

Description

Calculates what R thinks to be the resolution of the current graphic device.

Usage

devRes()

Details

This function may be used to get the resolution of the current graphics device. This can be important when calculating pixel coordinates for the output graphic.

Value

A vector with items xres and yres, the resolution in x and y direction respectively.

Author(s)

Florian Hahne

See Also

plotPlate

Examples

devRes()

[Package prada version 1.8.0 Index]