Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facet formula #101

Merged
merged 14 commits into from
Jan 25, 2024
Merged

Facet formula #101

merged 14 commits into from
Jan 25, 2024

Conversation

grantmcdermott
Copy link
Owner

@grantmcdermott grantmcdermott commented Jan 25, 2024

Closes #100. Closes #98.

Quick example of facet grid support via a two-sided formula (with some optional facet text styling).

library(plot2)
plot2(
  mpg ~ wt, data = mtcars,
  facet = am ~ cyl, 
  facet.args = list(bg = "grey90"),
  grid = TRUE, frame = FALSE,
  xlim = c(1,6), ylim = c(10, 35),
  main = "am versus cyl"
)

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

@grantmcdermott grantmcdermott merged commit 48d5145 into main Jan 25, 2024
3 checks passed
@grantmcdermott grantmcdermott deleted the facet_formula branch January 25, 2024 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support facet formula Customizable facet strip text.
1 participant