Add a path figure.
fig_path(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
|
df <- data.frame( x = runif(100), y = runif(100) ) g2(df, asp(x, y)) %>% fig_path()