Closed z267xu closed 3 years ago
An alternative way to maintain the data structure in a large extent of loon in ggplot is to set asAes = FALSE. For example,
asAes = FALSE
p <- l_plot(iris, glyph = sample(c("circle", "ccircle"), 150, replace = TRUE)) g1 <- loon.ggplot(p) g2 <- loon.ggplot(p, asAes = FALSE) b1 <- ggplot_build(g1) b2 <- ggplot_build(g2) # two layers length(b1$data) # only one layer length(b2$data)
An alternative way to maintain the data structure in a large extent of loon in ggplot is to set
asAes = FALSE
. For example,