grid.points(x = stats::runif(10), y = stats::runif(10), pch = 1, size = unit(1, "char"), default.units = "native", name = NULL, gp = gpar(), draw = TRUE, vp = NULL)
pointsGrob(x = stats::runif(10), y = stats::runif(10), pch = 1, size = unit(1, "char"), default.units = "native", name = NULL, gp = gpar(), vp = NULL)
points
for the
interpretation of these values.x
or y
are only given as numeric vectors.gpar
, typically the output
from a call to the function gpar
. This is basically
a list of graphical parameter settings.grid.points
returns the value invisibly.
grid.points
draws the points (and then only
if draw
is TRUE
).
viewport