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

Prettier contour-labels, variable number of contour lines #4

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

markolipka
Copy link

there seems to be an erroneous selection of bins in the geom_label_contour() function, leading to un-pretty() labels in special cases (here: pH).

Manpages say: "Is best used with a previous call to ggplot2::stat_contour with the same parameters (e.g. the same binwidth, breaks, or bins)."

So I forced both, geom_label_contour() and geom_contour() to use the same (pretty()) breaks...

Marko Lipka added 3 commits August 23, 2020 23:06
…via pretty(), as breaks are not pretty when chosen by geom_label_contour() (fixes Davidatlarge#1)

- add sliderInput() to define number of contours in plot
…ur()

- disable 0-expand-limitation in scale_x_continous() to fix Davidatlarge#3
- theme_miniumal() instead of theme_light()
- bigger plot
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.

1 participant