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

Hex Borders [adapting a new feature] #2

Open
SamPassmore opened this issue Jul 17, 2023 · 0 comments
Open

Hex Borders [adapting a new feature] #2

SamPassmore opened this issue Jul 17, 2023 · 0 comments

Comments

@SamPassmore
Copy link

Hi Prof. Lumley,

I came across this plotting package which will be useful for a paper I am writing.
An addition I want to make to this plot is to highlight particular hex's as is shown in the accepted answer in this question:
https://stackoverflow.com/questions/76685323/highlight-particular-hex-bins-with-geom-hex

As far as I can tell, there is no way to currently do this in hextri.

Do you have any ideas on how I could adapt hextri to do this?

My first thought was to plot a layer of hexagons ontop of a hextri plot where the borders could be manipulated, but I can't figure out how to reproduce the hexagonal patterning.

I think the hexagonal patterning comes from hexbin::hexbin, but I am not sure how to use the hexbin object to create a series of hexgon polygons.

Any pointers would be appreciated,

Sam

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

1 participant