locate: Translate relative coordinates (pos) to data coords.

Description Usage Arguments Details Value Author(s) See Also

Description

Translate relative coordinates (pos) to data coords.

Usage

1
locate(min, max, pos)

Arguments

min

minimum bound of plotting region

max

maximum bound of plotting region

pos

a proportion to be located within min/max

Details

This is a utility function for a translating relative coordinates (pos) to data coordinates. min and max are values specifiying the full range of a plotting region on the data scale. pos is a proportion. retval is data-scaled coordinate corresponding to pos.

Value

used for side-effect of creating a plot

Author(s)

Dave Braze davebraze@gmail.com

See Also

See rescale as a possible alternative.


davebraze/FDB1 documentation built on May 14, 2019, 8:59 p.m.