File Exchange

image thumbnail

Navigate.m

version 1.2.0.0 (214 KB) by Corey Gravelle
Use the mouse to seamlessly navigate a large figure

0 Downloads

Updated 19 Oct 2010

View License

Makes it easy to get around plots and images:
> click and drag to pan
> double-click to re-center
> shift-click to create rectangle to zoom into
> mouse scroll wheel to zoom in/out

Comments and Ratings (4)

your image must be in the matlab search path. go to file -> set path and browse for where the image is. You can test if it can be found by using imshow('mona.jpg'); if you have the image processing toolbox, or imread('mona.jpg'); without

i am unable to read the image...

Thanks for your feedback, I fixed the uiextras problem (should be up in a day or two - see update info below) -let me know of any other bugs and i'll swat 'em (:

Michael Chan

I tried the example:
navigate('ex','plot');

however, I get this error:
??? The class "uiextras" is undefined.

could u advise pls? thank u.

Updates

1.2.0.0

*deleted 'uiextras.Vbox' to eliminate need for external toolbox, though I would highly suggest the following for setting up GUI's: http://www.mathworks.com/matlabcentral/fileexchange/27758-gui-layout-toolbox

1.1.0.0

v.1.1: added 'flip' input, 'toggle' input, and fixed example bugs

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux