x.pt: Get the Value Associated With A Fraction of X- or Y-Axis

Description Usage Arguments Value

View source: R/x.pt.R

Description

Returns the coordinate of a point that is a given fraction between the actual axis limits of the current plot, in the units of that axis' data.

Usage

1
2
3
x.pt(fraction)

y.pt(fraction)

Arguments

fraction

Numeric values between zero and one specifying distance from the left (x) or bottom (y) limit of the current plot relative to its range.

Value

Returns numeric value of specified location in the units of the axis.


mwrowe/microRutils documentation built on June 12, 2021, 2:41 p.m.