MUCollective / pgog

Supplemental to A Probabilistic Grammar of Graphics
14 stars 1 forks source link

geom_icon/ icon array: multiple x/y axis mapping layout #65

Open xiaoyingpu opened 4 years ago

xiaoyingpu commented 4 years ago

These guys should produce different layouts

ggplot(mtcars) + geom_icon(aes(height = c(P(cyl|gear)), x = c(gear)))
ggplot(mtcars) + geom_icon(aes(height = c(P(cyl|gear)), x = c(cyl, gear)))