Rank: 4715 based on 24 downloads (last 30 days) and 1 file submitted
photo

Alexander Kessel

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Alexander
Updated   File Tags Downloads
(last 30 days)
Comments Rating
04 Nov 2013 Screenshot akZoom Zooming and panning with the mouse in 2D plots. Supports plotyy, loglog, subplot, etc. Author: Alexander Kessel 2d, axes, mouse, figure, image, pan 24 7
  • 5.0
5.0 | 4 ratings
Comments and Ratings by Alexander View all
Updated File Comments Rating
10 Dec 2013 akZoom Zooming and panning with the mouse in 2D plots. Supports plotyy, loglog, subplot, etc. Author: Alexander Kessel

Hi Vincent,
Thanks for your idea. It should be feasible. I'll think about including it in the next release.

08 Oct 2013 akZoom Zooming and panning with the mouse in 2D plots. Supports plotyy, loglog, subplot, etc. Author: Alexander Kessel

Hi Francesco,
Thanks for the feedback. I just uploaded the next version which will be published as soon as the MathWorks team has finished reviewing it.

Regarding the zoom/pan bug: Yes I have the same problem and on the way for a solution I found that many people have similar issues of loosing window focus after some operation. Sometimes they could find a workaround for this Matlab behaviour but for the case where you delete a patch object (like in akZoom) I couldn't find a solution. However, I wanted to get rid of the patch object anyway, so I replaced it with a rectangle: voilà!

Regarding customizing the mapping of the mouse buttons: you can do this now easily in the "Settings" section of the akZoom function. I guess everyone has a certain scheme he/she wants to work with but there is no need to change this really at runtime. Correct me if I'm wrong.

16 Jun 2013 akZoom Zooming and panning with the mouse in 2D plots. Supports plotyy, loglog, subplot, etc. Author: Alexander Kessel

Hi Felix,

Thanks for your comment and rating!

What you could do is to create a wrapper for the MATLAB-plot function:

function h = myPlot(varargin)
h = plot(varargin{:});
akZoom(get(h,'Parent'));
end

Save this function in a folder of your choice and add it to the Matlab-Search-Path.

Now you can use the function myPlot the same way you would use "plot" and akZoom is included automatically.

Comments and Ratings on Alexander's Files View all
Updated File Comment by Comments Rating
10 Dec 2013 akZoom Zooming and panning with the mouse in 2D plots. Supports plotyy, loglog, subplot, etc. Author: Alexander Kessel Kessel, Alexander

Hi Vincent,
Thanks for your idea. It should be feasible. I'll think about including it in the next release.

04 Dec 2013 akZoom Zooming and panning with the mouse in 2D plots. Supports plotyy, loglog, subplot, etc. Author: Alexander Kessel Vincent

Is it easy to add the feature with linked glasses to only keep x linking. So that you can pan/zoom in a subplot and only the x limits in the other linked subplots change?

05 Nov 2013 akZoom Zooming and panning with the mouse in 2D plots. Supports plotyy, loglog, subplot, etc. Author: Alexander Kessel arnold

great stuff!
Always wonder why Mathworks can't seem to manage to include such "basic" functionality, puzzling.

09 Oct 2013 akZoom Zooming and panning with the mouse in 2D plots. Supports plotyy, loglog, subplot, etc. Author: Alexander Kessel Shahab

08 Oct 2013 akZoom Zooming and panning with the mouse in 2D plots. Supports plotyy, loglog, subplot, etc. Author: Alexander Kessel Kessel, Alexander

Hi Francesco,
Thanks for the feedback. I just uploaded the next version which will be published as soon as the MathWorks team has finished reviewing it.

Regarding the zoom/pan bug: Yes I have the same problem and on the way for a solution I found that many people have similar issues of loosing window focus after some operation. Sometimes they could find a workaround for this Matlab behaviour but for the case where you delete a patch object (like in akZoom) I couldn't find a solution. However, I wanted to get rid of the patch object anyway, so I replaced it with a rectangle: voilà!

Regarding customizing the mapping of the mouse buttons: you can do this now easily in the "Settings" section of the akZoom function. I guess everyone has a certain scheme he/she wants to work with but there is no need to change this really at runtime. Correct me if I'm wrong.

Contact us