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

[Feature Idea] Scalebar that adjust on zoom #88

Open
lupemba opened this issue Jun 13, 2024 · 3 comments
Open

[Feature Idea] Scalebar that adjust on zoom #88

lupemba opened this issue Jun 13, 2024 · 3 comments

Comments

@lupemba
Copy link

lupemba commented Jun 13, 2024

It would be nice to have a scalebar that adjust on zoom so you easy can have a length reference in the figure.
The syntax could be similar to axislegend so it can be added with a single line of code and the position and style can be set via arguments.

image

@lazarusA
Copy link
Collaborator

lazarusA commented Jun 13, 2024

Maybe give it a go with a PR :)
@jkrumbiegel showed a way of doing it here:

https://discourse.julialang.org/t/scale-division-in-makie/105650/2

@lupemba
Copy link
Author

lupemba commented Jun 13, 2024

Maybe give a go with a PR :) @jkrumbiegel showed a way of doing it here:

https://discourse.julialang.org/t/scale-division-in-makie/105650/2

Yes exactly like that. I will put it on my list and give it a go when I have some time :)

@asinghvi17
Copy link
Member

I think https://github.com/JuliaAPlavin/MakieExtra.jl has something like this now. I guess there should also be an option to turn it off...

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

3 participants