ProfileView.jl icon indicating copy to clipboard operation
ProfileView.jl copied to clipboard

feature request: different zoom scales for horizontal/vertical

Open tpapp opened this issue 5 years ago • 5 comments

@snoopi_deep plots have a lot of tall & narrow regions, so zooming in then requires a lot of vertical panning.

I am not sure about the GUI for this, maybe Ctrl-Shift-scroll or something similar could just zoom horizontally.

tpapp avatar Jan 03 '21 10:01 tpapp

Does Ctrl-click-drag zoom selection work for you? (It uses rubberband selection to pick the zoom region.)

timholy avatar Jan 03 '21 17:01 timholy

Yes, I can get what I want by that and then Ctrl-scrolling, but it would be more convenient to do it directly.

Just a thought, feel free to close.

tpapp avatar Jan 04 '21 08:01 tpapp

Just an explanation why I find the above finicky: zooming out (Ctrl-scroll) resets the aspect ratio to whatever fits in height when the plot fills the window vertically. Then, to go back, I need to rubberband carefully again.

tpapp avatar Jan 04 '21 08:01 tpapp

OK, agreed. Re the interface: how about if you hold down the H key while scrolling to zoom just horizontally, and the V key for just vertical zoom?

timholy avatar Jan 04 '21 08:01 timholy

You mean Ctrl-V-scroll and Ctrl-H-scroll? That could work for guitar/piano players so I am OK with it :wink: Or just V-scroll and H-scroll? That would be perfect.

tpapp avatar Jan 04 '21 08:01 tpapp