Add a point figure.
fig_point(g, ..., sync = TRUE, data = NULL, inherit_asp = TRUE)
g | An object of class |
---|---|
... | Options to pass to the figure, including |
sync | Whether to sync the axis data (align) with that
used in other figures, set to |
data | A dataset ( |
inherit_asp | Whether to inherit the aspects paseed to
|
g2(cars) %>% fig_point(asp(speed, dist)) g2(mtcars, asp(mpg, disp, size = qsec)) %>% fig_point(asp(color = "red", shape = "square"))