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 documentation built on Nov. 10, 2023, 5:07 p.m.