Skip to content

Allow to draw gridlines on top of data #551

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

Closed
jiho opened this issue May 9, 2012 · 1 comment · Fixed by #993
Closed

Allow to draw gridlines on top of data #551

jiho opened this issue May 9, 2012 · 1 comment · Fixed by #993
Milestone

Comments

@jiho
Copy link
Contributor

jiho commented May 9, 2012

When using geom_tile or maps, the grid lines are completely obscured by the data plotted on top of them. Sometimes, particularly for maps, it is desirable to still see the grid lines. Using transparency is a workaround but costly in terms of rendering, compatibility (EPS does not support transparency) and legibility.

Ideally, one should be able to specify where to draw grid lines (at which level in the plot). For example, one might want to draw them on top of a map/tile layer but below a points layer.

Another way to look at it is to specify, for each geom/layer wether is it above or below the grid lines.

@hadley
Copy link
Member

hadley commented Feb 24, 2014

This sounds like a great feature, but unfortunately we don't currently have the development bandwidth to support it. If you'd like to submit a pull request that implements this feature, please follow the instructions in the development vignette.

@hadley hadley closed this as completed Feb 24, 2014
noamross added a commit to noamross/ggplot2 that referenced this issue Aug 6, 2014
@lock lock bot locked as resolved and limited conversation to collaborators Jun 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants