l_layer_points: Layer points

View source: R/l_layer.R

l_layer_pointsR Documentation

Layer points

Description

Loon's displays that are based on Cartesian coordinates (i.e. scatterplot, histogram and graph display) allow for layering visual information including polygons, text and rectangles.

Scatter points layer

Usage

l_layer_points(
  widget,
  x,
  y = NULL,
  color = "gray60",
  size = 6,
  label = "points",
  parent = "root",
  index = 0,
  active = TRUE,
  ...
)

Arguments

widget

widget path name as a string

x

the coordinates of line. Alternatively, a single plotting structure, function or any R object with a plot method can be provided as x and y are passed on to xy.coords

y

the y coordinates of the line, optional if x is an appropriate structure.

color

color of points

size

size point, as for scatterplot model layer

label

label used in the layers inspector

parent

group layer

index

of the newly added layer in its parent group

active

a logical determining whether objects appear or not (default is TRUE for all).

...

additional state initialization arguments, see l_info_states

Details

For more information run: l_help("learn_R_layer")

Value

layer object handle, layer id

See Also

l_layer, l_info_states


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