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

geom_path linejoin=mitre does not actually produce mitre #774

Closed
sebastian-c opened this issue Mar 5, 2013 · 1 comment
Closed

geom_path linejoin=mitre does not actually produce mitre #774

sebastian-c opened this issue Mar 5, 2013 · 1 comment

Comments

@sebastian-c
Copy link

When producing a simple geom_path in ggplot2 0.9.3.1 as suggested by the documentation:

df <- data.frame(x = 1:3, y = c(4, 1, 9))
base <- ggplot(df, aes(x, y))
base + geom_path(size = 10, linejoin = "mitre")

This actually produces a bevel, not a mitre (the definitions can be found at this tutorial). I thought this might just be a bug in the documentation, but it seems that linejoin='bevel' and linejoin='mitre' do exactly the same thing.

@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
Ax3man added a commit to Ax3man/ggplot2 that referenced this issue May 15, 2017
karawoo pushed a commit that referenced this issue Jul 3, 2017
* Added linejoin parameter to geom_segment (#774).

* Simplify example code.

* Changed indentation and moved data and aes to ggplot
@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

No branches or pull requests

2 participants