-
Notifications
You must be signed in to change notification settings - Fork 4
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
resizing area issue #1
Comments
Yes, please send me the data file and I'll see whether I can do something quick :) |
Cool, I'm attaching the data here. The problem is when you remove a row with a negative latitude (e.g., TARA_093) |
I was having maybe a similar issue last night :). I was going to post something anyway so I may as well do it now. Here is my hack for what it's worth--nothing fancy and I literally finally figured it out over coffee this morning. First I think the resolution of the data in the After some looking around I figured that shape file (whatever those are) were my best best. So I downloaded shape file data from GADM . My data is from Panama so I downloaded that dataset. The directory (
I also needed a few additional libraries ( I am still tweaking the font and point size but you get the idea. Thanks @meren for another amazing tool! Jarrod |
Hi @jarrodscott, thank you very much for this solution! Using your approach, I updated the code and the README: https://github.com/merenlab/world-map-r/blob/master/README.md#generating-high-resolution-maps @lhor, please try this and let us know whether it works. Best wishes, |
very elegant. this rocks |
cool solution, @meren! It works well for well-defined areas (i.e., countries) but I wasn't able to make it work for a transect that covers US-ocean-Europe. I was also trying to use a world map (yes, there is a shape for it too) but my MacBook ran out of memory! I might try later on the cluster. Thanks! |
Hi Murat,
I was trying different combinations of locations, but when I reduced the area to only include latitudes in between 25-50 the map stretches out distorting the image. I tried to resize the PDF but I lost some of the legends. However, it works well if I include samples that span all over the map. I can send you the data file I'm using if necessary. Thanks!
Coto
The text was updated successfully, but these errors were encountered: