Point plot in 2d using the grid package

points_2d_grid(
  zargs,
  type = c("p", "l", "o"),
  pch = NULL,
  size = 0.02,
  box = FALSE,
  box.width = 1,
  box.height = 1,
  group... = list(cex = 0.66),
  draw = FALSE,
  ...
)

Arguments

zargs

argument list as passed from zenplot()

type

line type

pch

plot symbol

size

size of the plot symbol

box

logical indicating whether a box should be drawn

box.width

width of the box

box.height

height of the box

group...

list of arguments passed to group_2d_grid (or NULL)

draw

logical indicating whether drawing should take place

...

additional arguments passed to gpar()

Value

grob (invisibly)

Note

- 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

Author

Marius Hofert and Wayne Oldford