MATLAB: How to select points in on the surface in 3-dimensional like using the GINPUT function in 2-dimensional

2d3dannotation;currentginputgtextMATLABpointposition;

I can not select points in 3D in an analogous manner to using GINPUT in 2D.
If I use the command:
get(gca,'currentpoint')
It only returns 2 points on a line which does not help me select a point on the surface.

Best Answer

This capability is not available in MATLAB 7.5 (R2007b ).
There is a file on MathWorks File Exchange called rbb3select which may serve this purpose.
<http://www.mathworks.com/matlabcentral/fileexchange/7191-rbb3select>
Note that MathWorks does not guarantee or warrant the use or content of these submissions. Any questions, issues, or complaints should be directed to the contributing author.