Learn R Programming

zenplots (version 1.0.6)

density_2d_loon: Density plot in 2d using the interactive loon package

Description

Density plot in 2d using the interactive loon package

Usage

density_2d_loon(
  zargs,
  ngrids = 25,
  ccol = NULL,
  color = NULL,
  clwd = NULL,
  lwd = NULL,
  linewidth = 1,
  showLabels = FALSE,
  showScales = FALSE,
  showGuides = FALSE,
  linkingGroup = NULL,
  baseplot = NULL,
  parent = NULL,
  group... = NULL,
  ...
)

Value

invisible()

Arguments

zargs

The argument list as passed from zenplot()

ngrids

Number of grid points in each direction. Can be scalar or a length-2 integer vector.

ccol

A vector (which is then recycled to the appropriate length) giving the color of the contours

color

Colour used fill if ccol is NULL, a grey palette is used otherwise.

clwd

A vector (which is then recycled to the appropriate length) giving the line widths of the contours

lwd

Line width used only when clwd = NULL

linewidth

Line width used when both clwd and lwd are NULL, value of 1 used otherwise.

showLabels

Logical determining whether axis labels are displayed

showScales

Logical determining whether scales are displayed

showGuides

Logical determining whether the background guidelines are displayed

linkingGroup

The initial linking group

baseplot

If non-null the base plot on which the plot should be layered

parent

The tk parent for this loon plot widget

group...

A list of arguments passed to group_2d_loon (or NULL)

...

Additional parameters passed to loon::l_layer_line()

Author

Marius Hofert and Wayne Oldford

See Also

Other default 2d plot functions using the interactive loon package: arrow_2d_loon(), axes_2d_loon(), group_2d_loon(), label_2d_loon(), points_2d_loon(), rect_2d_loon()

Other default 2d plot functions: arrow_2d_graphics(), arrow_2d_grid(), arrow_2d_loon(), axes_2d_graphics(), axes_2d_grid(), axes_2d_loon(), density_2d_graphics(), density_2d_grid(), extract_2d(), group_2d_graphics(), group_2d_grid(), group_2d_loon(), label_2d_graphics(), label_2d_grid(), label_2d_loon(), points_2d_graphics(), points_2d_grid(), points_2d_loon(), qq_2d_graphics(), qq_2d_grid(), rect_2d_graphics(), rect_2d_grid(), rect_2d_loon()