The following Matlab project contains the source code and Matlab examples used for ginput funtion to be used in guis. 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.
The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.