dot-prepLegendCoords: Sanitize Legend Coordinates

.prepLegendCoordsR Documentation

Sanitize Legend Coordinates

Description

Internal function.

Usage

.prepLegendCoords(go, leg.loc, x.min = 0, x.max = 0, y.min = 0, y.max = 0)

Arguments

go

A string specifying the graphics mode.

leg.loc

A list giving x and y coordinates.

x.min

A number giving the minimum x value in the data. Used only if graphics mode is set to base.

x.max

A number giving the maximum x value in the data. Used only if graphics mode is set to base.

y.min

A number giving the minimum y value in the data. Used only if graphics mode is set to base.

y.max

A number giving the maximum y value in the data. Used only if graphics mode is set to base.

Value

A list of coordinates specifying x and y position of the legend along with a position designation, except in one case where a string is returned.

Author(s)

Bryan A. Hanson (DePauw University), Tejasvi Gupta.


ChemoSpecUtils documentation built on May 29, 2024, 3:12 a.m.