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

Hash fills (with PitchAngleDistribution) #2

Open
jbfaden opened this issue Nov 18, 2022 · 1 comment
Open

Hash fills (with PitchAngleDistribution) #2

jbfaden opened this issue Nov 18, 2022 · 1 comment

Comments

@jbfaden
Copy link
Member

jbfaden commented Nov 18, 2022

Sadie would like to make a pitch angle distribution with hashed regions, where instead of filling a region with an opaque color, a hash (https://stackoverflow.com/questions/28755265/cairo-fill-a-polygon-with-a-hatch-pattern) is used to fill in 50%. This isn't possible with any of the renderers, but a custom renderer could make the plot. Also I'm pretty sure there's an example that shows how to fill with a hash using Java2D graphics.

@jbfaden
Copy link
Member Author

jbfaden commented Feb 11, 2023

This was done and she used the mode in her AGU 2022 presentations. It looks like a new Renderer "BoundsRenderer" was added to support this.
See the script https://github.com/autoplot/dev/blob/master/demos/2022/20221118/boundsDemoPolarTrajAutorange.jy

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