5.0

5.0 | 1 rating Rate this file 32 downloads (last 30 days) File Size: 2.29 KB File ID: #25470

GINPUT_ZOOM

by YiChung

 

02 Oct 2009

Code covered by BSD License  

Graphical input from mouse with Zoom In/Out function

Download Now | Watch this File

File Information
Description

     [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

MATLAB release MATLAB 7 (R14)
Zip File Content  
Other Files ginput_zoom.m,
license.txt
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
02 Oct 2009 Carlos Adrian Vargas Aguilera

Good function. you may check out also my GINPUT2 here at the FileExchange.

Cheers

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
ginput YiChung 02 Oct 2009 11:41:25
zoomin YiChung 02 Oct 2009 11:41:25
zoomout YiChung 02 Oct 2009 11:41:25
zoom Ned Gulley 09 Oct 2009 10:21:58
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com