Code covered by the BSD License  

Highlights from
GINPUT funtion to be used in GUIs

4.0 | 1 rating Rate this file 47 Downloads (last 30 days) File Size: 12.5 KB File ID: #39799
image thumbnail

GINPUT funtion to be used in GUIs



This function works similar to GINPUT but only presents the crosshair in axes specified by the user.

| Watch this File

File Information

This function works similar to GINPUT. However it allows the user to specify which axes or multiple axes are active, being the crosshair only shown within these axes. It also returns which axes did the user click on.

Required Products MATLAB
MATLAB release MATLAB 7.13 (R2011b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
29 Oct 2014 Geoff Hayes

This is a neat submission (and works well) but just note that the examples (in the file header) are opposite to how they should be invoked. The axes handle(s) should be the first input to the function, and the number of points should be the second input. If there is more than one handle, then this should be passed as an vector rather than as a cell array. Note that the fourth output, the axes that each point belongs to, only gets set with the last point's axes (so if four points are selected, then we only see the axes for the fourth point).

Contact us