grantmcdermott / tinyplot

Lightweight extension of the base R graphics system
https://grantmcdermott.com/tinyplot
Apache License 2.0
226 stars 7 forks source link

area type legend could be improved #99

Closed grantmcdermott closed 7 months ago

grantmcdermott commented 8 months ago
library(plot2)

plot2(~ Temp | Month, airquality, type = "area")

Specifically, instead of squares with lines through them, they could be more like the filled density plot legend below (i.e, squares with a border).

plot2(~ Temp | Month, airquality, type = "density", fill = "by")

Created on 2024-01-24 with reprex v2.1.0