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

Aspect ratio in map functions #51

Closed
vijaybarve opened this issue Oct 16, 2013 · 3 comments
Closed

Aspect ratio in map functions #51

vijaybarve opened this issue Oct 16, 2013 · 3 comments
Milestone

Comments

@vijaybarve
Copy link
Contributor

Need to maintain aspect ratio while plotting maps with fxns gbifmap_list, gbifmap_dens and gbifmap. The maps might look like this

image

depending on the setting.

We can simply do it by adding coord_fixed(ratio = 1) in functions i.e.

...
    geom_polygon(aes(group=group), fill="white", color="gray40", size=0.2) + coord_fixed(ratio = 1) +
 ..
@sckott
Copy link
Contributor

sckott commented Oct 16, 2013

Indeed, mapping needs to be better, happy to take any pull requests on this

@vijaybarve
Copy link
Contributor Author

Sure, should I use Master or the newapi branch ?

@sckott
Copy link
Contributor

sckott commented Oct 17, 2013

newapi

sckott added a commit that referenced this issue Jan 16, 2014
closes #51
also added additional eg in gbifmap
@sckott sckott closed this as completed Jan 16, 2014
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

2 participants