|
From: <pl...@pi...> - 2012-06-20 09:07:27
|
On 06/20/12 10:31, Mojca Miklavec wrote: > On Wed, Jun 20, 2012 at 10:25 AM, Mojca Miklavec wrote: >> On Wed, Jun 20, 2012 at 7:46 AM, Petr Mikulik wrote: >>> >>> I would propose to revise mouse zooming to comply more with that used in map >>> software (maps.google.com, mapy.cz etc.). Thus: >>> - mouse wheel zooms around current mouse position (it could zoom around >>> center if mouse is outside graph border) >>> - Shift-wheel would move graph up/down (as now without Shift) >>> - Ctrl-wheel would move graph left/right (now with Shift) >> >> You forgot that google maps allows you to "drag and drop" to move >> around the map. I believe that is not an option for gnuplot > > I'm sorry. I mixed up left & right click. The right click zooms into > the region, so the right click is already taken (not the left one), > while left click doesn't seem to do anything. So the left click (drag > and drop) could actually be used to move the graph around. Yes, map style dragging may be a useful extension of mouse control and I don't think any of the mouse aware terms are using that kind of button1 event. One major defect I find with the current mouse control is the need to take my eye off the screen to find shift or cntl keys. I see no reason why vert scroll should be privileged and monopolise the whole plot surface. It may be an improvement if vert and horizontal scrolling were effected by mouse scroll on the areas between the relative axis and the window edge. This would leave the graph area itself free for zoom without the need for an additional keyboard interaction. Thus both scroll actions and zoom would be freed of the need for keyboard. This would be a lot easier to use. > >> The program I'm using now allows to select a range on x axis (drag and >> drop just next to the axis) and a range on y axis (separately) to zoom >> into selected range. That is also a lot more intuitive (once you know >> about the option) and allows for selecting the area of interest with >> great precision. > > ... but that is already possible with the left mouse button anyway. > > Another nice gesture (in a different program that I'm using) is > double-clicking bringing you back to original/default zoom & position. There is already a button for that in wxt and dbl-clk event pastes current coords under mouse to paste board. This is a feature I have used quite a bit just this week. The only drawback I have with this feature is that it does not get picked up by the X11 copy buffer that can be pasted with button-3 click (mouse wheel) which is so much faster than using context menus to find paste or dropping the mouse to do cntl-v. I guess that may not be possible since the text copied is never on an Xwindow in the first place, unless there is a trick that could achieve that. Peter. |