|
From: | John W. Eaton |
Subject: | Re: Qt graphics zooming |
Date: | Tue, 03 Mar 2015 13:55:06 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0 |
On 03/03/2015 01:28 PM, Rik wrote:
This works well when using single mouse clicks. I would add the same code to the canvasWheelEvent so that mouse wheel zoom is also based on the current location. -- Canvas.cc:795 -- // FIXME: should we zoom about point for 2D plots? ap.zoom (mode, factor); -- End Code -- It looks like that may have been intended.
I'm not sure that's how Matlab works. Maybe someone else can verify?I don't really care one way or the other, but if we diverge from what Matlab does, I expect we'll get a bug report about it...
jwe
[Prev in Thread] | Current Thread | [Next in Thread] |