Learn R Programming

loon (version 1.4.1)

l_scaleto_layer: Change Plot Region to Display All Elements of a Particular Layer

Description

The function modifies the zoomX, zoomY, panX, and panY so that all elements of a particular layer are displayed.

Usage

l_scaleto_layer(target, layer)

Arguments

target

either an object of class loon or a vector that specifies the widget, layer, glyph, navigator or context completely. The widget is specified by the widget path name (e.g. '.l0.plot'), the remaining objects by their ids.

layer

layer id

See Also

l_layer_ids