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

Better labels for webplot() #43

Closed
okenk opened this issue May 3, 2022 · 2 comments · Fixed by #81
Closed

Better labels for webplot() #43

okenk opened this issue May 3, 2022 · 2 comments · Fixed by #81
Assignees
Labels
enhancement New feature or request

Comments

@okenk
Copy link

okenk commented May 3, 2022

Hi-- thanks so much for this package, I love being able to do all of the modeling in R!

A coauthor did not like the food web plot that I produced using Rpath::webplot() because all of the overlapping text was hard to read. I solved this by slightly amending the function so that instead of directly plotting everything, it just saves the set of points (this was already there) and set of line segments (this is what I added), and then plotted it in ggplot so I could take advantage of the ggrapel package.

Here is the original figure:
foodweb

And the updated one:
ggrepel_plot

(Slightly different geometries because they have different random number seeds.)

It seems like this could be useful for future users. I was wondering if you'd be interested in incorporating it into the package or what the process is for contributing?

Thanks,
Kiva

@slucey
Copy link
Member

slucey commented May 4, 2022

This is great! I love seeing an easier solution to my rudimentary code. Please feel free to make a pull request that we can review and incorporate.

@slucey slucey added the enhancement New feature or request label Sep 13, 2023
@slucey
Copy link
Member

slucey commented Sep 13, 2023

Pull request #44

@slucey slucey linked a pull request Sep 13, 2023 that will close this issue
@slucey slucey self-assigned this Sep 15, 2023
@andybeet andybeet linked a pull request Oct 30, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
3 participants