Code covered by the BSD License  

Highlights from
GINPUT funtion to be used in GUIs

2.5
2.5 | 3 ratings Rate this file 49 Downloads (last 30 days) File Size: 12.5 KB File ID: #39799 Version: 1.0
image thumbnail

GINPUT funtion to be used in GUIs

by

 

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

| Watch this File

File Information
Description

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 (3)
19 Apr 2015 Jordan Crosley

The video doesn't work and I can't get ginputax to work either.

19 Apr 2015 Jordan Crosley

And I can't get ginputax to work either.

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