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

scale_radius or other explanation of how to control radius #24

Open
jebyrnes opened this issue Jul 16, 2019 · 2 comments
Open

scale_radius or other explanation of how to control radius #24

jebyrnes opened this issue Jul 16, 2019 · 2 comments

Comments

@jebyrnes
Copy link

This is an AWESOME package. But when I plot using it, I get very small pies! And changing size doesn't work well at all - only works on the black outlines and not the fills. If I set color = NA, I still have the same small pies! Using the code from the vignette, the below should produce two plots with different point sizes. But it does not.

Is there a way to either have a scale_scatterpie_radius_manual control or maybe just an easy way to manually set the size of those pies? Even to have size with with the fill and not just the colored part of the pie would be great!

#small pies
ggplot() + geom_scatterpie(aes(x=long, y=lat, group=region), data=d,
                           cols=LETTERS[1:4], radius = 1, color = NA) + coord_equal()

#large pies
ggplot() + geom_scatterpie(aes(x=long, y=lat, group=region), data=d,
                           cols=LETTERS[1:4], radius = 10, color = NA) + coord_equal()
@shu251
Copy link

shu251 commented Jan 26, 2021

Is there resolution on how to modify the pie size? @GuangchuangYu
I've tried following the vignette, but it does not work.

@nyrvelli
Copy link

try pie_scale: from http://www.endmemo.com/r/geom_scatterpie.php

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

No branches or pull requests

3 participants