GINPUT_ZOOM

Version 1.0.0.0 (2.29 KB) by YiChung
Graphical input from mouse with Zoom In/Out function
1.9K Downloads
Updated 2 Oct 2009

View License

[X,Y] = GINPUT_ZOOM(N, STYLE) gets N points from the
current axes and returns the X- and Y-coordinates in
length N vectors X and Y. The style of cursor can be
change by setting STYLE (please refer to "Specifying
the Figure Pointer" in the help, default: 'fullcross').

User can click and drag to Zoom In / Out
- Left-Top to Right-Down means Zoom In
- Right-Down to left-Top means Zoom Out

[X,Y] = GINPUT_ZOOM gathers an unlimited number
(less then 100000) of points until the return key is pressed.

Others are same as GINPUT

Cite As

YiChung (2024). GINPUT_ZOOM (https://www.mathworks.com/matlabcentral/fileexchange/25470-ginput_zoom), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Visual Exploration in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0