MUCollective / pgog

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

Icon array: better icon arrangement algorithm #39

Open xiaoyingpu opened 4 years ago

xiaoyingpu commented 4 years ago

Requirements

image

Intermediate steps

mjskay commented 3 years ago

For making custom grobs you can look here: https://www.stat.auckland.ac.nz/~paul/Reports/CustomGrobs/custom-grob.html

xiaoyingpu commented 3 years ago

@DanielWang2029 test cases:

https://github.com/MUCollective/pgog/blob/7d46f75e96a14d86b2d29aa81101da664010aa1d/vignettes/pgog.Rmd#L258

image

https://github.com/MUCollective/pgog/blob/7d46f75e96a14d86b2d29aa81101da664010aa1d/vignettes/pgog.Rmd#L262

image

https://github.com/MUCollective/pgog/blob/7d46f75e96a14d86b2d29aa81101da664010aa1d/vignettes/pgog.Rmd#L289-L295

xiaoyingpu commented 3 years ago

Pending code from @DanielWang2029