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

pan/zoom on 2D graphs #34

Closed
ssfrr opened this issue Dec 28, 2017 · 7 comments
Closed

pan/zoom on 2D graphs #34

ssfrr opened this issue Dec 28, 2017 · 7 comments

Comments

@ssfrr
Copy link
Contributor

ssfrr commented Dec 28, 2017

When plotting high-density data I often use the pan/zoom functions in PlotlyJS. It would be super useful to be able to navigate similiarly in a 2D Makie scene.

PlotlyJS's box zoom behavior is also very nice, where it lets you either define a rectangle to zoom or zoom just along the x or y axes, depending on how you drag. That seems lower-priority than basic pan/zoom though.

@SimonDanisch
Copy link
Member

This is actually implemented in a branch and will be part of the first release :)

@ssfrr
Copy link
Contributor Author

ssfrr commented Dec 28, 2017

great!

BTW I'm really enjoying playing around with Makie so far. It's soooo fast!

@timholy
Copy link
Contributor

timholy commented Feb 27, 2018

One of my episodic needs for plotting has come up. Any updates on this? Is there a branch I could play with/help with?

@SimonDanisch
Copy link
Member

Sorry I made a bit of a mess of the branches while refactoring - there is currently no version that actually offers the full functionality of makie and the improved camera... But the camera builds uppon the example from JuliaGL/GLVisualize.jl#145, so you might already be familiar with it.
I'm currently just getting back at giving the camera refactor branch update it deserves - I really hope to finish it soon enough so people can play around with the new design!

@grero
Copy link
Contributor

grero commented Oct 8, 2018

The ability to zoom on 2d plots would indeed be useful to me, too. Any updates on this?

@SimonDanisch
Copy link
Member

This should be long implemented ;) Maybe we want it to behave a bit different - but that should go into another issue!

@grero
Copy link
Contributor

grero commented Oct 8, 2018

oh, cool! Just to clarify, though, the current way this zooming works is to zoom the entire plot, right, basically like a 2D image of sorts? That's what I see when scroll the mouse on a 2D plot. I guess what I had in mind was something where the axis limits are updated as the user zooms in/out. Is there a separate issue for this somewhere?

SimonDanisch added a commit that referenced this issue Jun 3, 2021
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

4 participants