getYmult: Correct for aspect and coordinate ratio

View source: R/getYmult.R

getYmultR Documentation

Correct for aspect and coordinate ratio

Description

Calculate a multiplication factor for the Y dimension to correct for unequal plot aspect and coordinate ratios on the current graphics device.

Usage

 getYmult()

Details

⁠getYmult⁠’ retrieves the plot aspect ratio and the coordinate ratio for the current graphics device, calculates a multiplicative factor to equalize the X and Y dimensions of a plotted graphic object.

Value

The correction factor for the Y dimension.

Author(s)

Jim Lemon

See Also

draw.circle


plotrix/plotrix documentation built on Feb. 19, 2024, 8:16 a.m.