range8pos: returns the ranges (x,y) for a pos

Description Usage Arguments Value Examples

View source: R/f0.g4n1.code.r

Description

(ba) This function returns the ranges (x,y) for a pos taking into account the zoom specification of the pos and the extreme values of its positions.

Usage

1
range8pos(pos, padding=g4n.pgr0@padding)

Arguments

pos

The pos object.

padding

The padding coefficient to apply.

Value

a list with two components \$x and \$y giving the ranges (min,max) of the two first positions

Examples

1
2
3
 g4n3k("RESET"); # needed only for R checking, to be forgotten
 uu <- new("pos", posi=matrix(round(10*cos(1:20)), 5));
 range8pos(uu);

g4n documentation built on May 2, 2019, 5:47 p.m.

Related to range8pos in g4n...