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

View source: R/l_scaleto.R

l_scaleto_layerR Documentation

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


loon documentation built on July 9, 2023, 5:48 p.m.