Learn R Programming

plotrix (version 3.8-2)

get.tablepos: Get the position for a legend or table

Description

Gets the x and y positions and justification for a legend or table in user units from the string descriptors like "top".

Usage

get.tablepos(x)

Value

A list containing:

x

x position

y

y position

xjust

x (horizontal) justification

yjust

y (vertical) justification

Arguments

x

A valid position descriptor like "top".

Author

Jim Lemon

Details

get.tablepos checks for one of the nine valid position descriptors:

topleft, top, topright, left, center, right, bottomleft, bottom and bottomright.

If none of these descriptors are found, it will return the center position and justification.

See Also

addtable2plot, legendg