Density plot in 2d using the grid package
density_2d_grid(
zargs,
ngrids = 25,
ccol = NULL,
clwd = 1,
clty = 1,
box = FALSE,
box.width = 1,
box.height = 1,
group... = list(cex = 0.66),
draw = FALSE,
...
)
argument list as passed from zenplot()
number of grid points in each direction. Can be scalar or a length-2 integer vector.
vector (which is then recycled to the appropriate length) giving the color of the contours
vector (which is then recycled to the appropriate length) giving the line widths of the contours
vector (which is then recycled to the appropriate length) giving the line types of the contours
logical indicating whether a box should be drawn
width of the box
height of the box
list of arguments passed to group_2d_grid (or NULL)
logical indicating whether drawing should take place
additional arguments passed to gpar()
grob (invisibly)
- We use names depending on the 'type' here since otherwise, if one calls it once for 'p' and once for 'l', only one of them is plotted - The default point size was chosen to match the default of graphics
Other default 2d plot functions using the grid package:
arrow_2d_grid()
,
axes_2d_grid()
,
group_2d_grid()
,
label_2d_grid()
,
points_2d_grid()
,
qq_2d_grid()
,
rect_2d_grid()
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_loon()
,
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()