Get from Ico-github-logo

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Zoom Keys

5.0 | 9 ratings Rate this file 8 Downloads (last 30 days) File Size: 116 KB File ID: #3090 Version: 1.2
image thumbnail

Zoom Keys


Ned Gulley (view profile)


06 Mar 2003 (Updated )

Pan and zoom quickly around your 2-D data using mouse and keyboard shortcuts.

| Watch this File

File Information

Use this tool to move quickly around the data displayed in a 2-D plot. Make sure the figure has focus, and then press any of the following keys. Clicking and dragging will pan the data.
    Keys you can use are:
    z, Z: zoom in, zoom out, in both dimensions
    x, X: zoom in, zoom out, x dimension only
    y, Y: zoom in, zoom out, y dimension only
    arrow keys: pan the data
    a: axis auto
    n: axis normal
    e: axis equal
    g: toggle grid state
    spacebar: toggle axis tick display state
    h: help


This file inspired Orthogonalslicer and Interactivemouse.

MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (10)
24 Feb 2015 Theo

Theo (view profile)

Quite handy. Thanks.Can you also include the ability to zoom to where to mouse is pointing?

27 May 2013 Dmitry

Dmitry (view profile)

Excellent and very helpfull !!!
It made my matlab to be very handy tool !
Thanks a lot !

17 Jun 2011 A

A (view profile)

I´m not able to start this m-File.
When I call "axdrag" from the command window, I get this error-message:

"Warning: Setting the "KeyPressFcn" property is not permitted while this mode is active.
>In uitools.uimodemanager.uimodemanager>localModeWarn at 59 In axdrag at 54"

I use R2009b.
Thank you for your help.

Comment only
11 Jan 2008 B A

Great tool.
Should be built into plot. Since plot navagation in matlab is a huge pain.

25 Jul 2006 Dinesh Appya

Its really excellent

02 Jul 2005 Kalpit Desai

Awesome tool! Everything I need with easy-to-use interface. Thank you Ned!

18 Dec 2004 G T

10 Sep 2004 Anand Joshi

a very useful tool for me to scroll through the data consisting of several cycles. will try to enhance it by providing mouse controls as well

28 Nov 2003 tom turbo

02 Sep 2003 Antonin Garriga

very interesting

05 Jun 2009 1.1

Changed copyright information and submission title.

17 Aug 2015 1.2

Moving to GitHub.

Contact us