You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Works similiar to Matworks ginput function
- Supports surfaces that contain nan and inf
- Allows zooming, panning, 3d rotation, and point query between or prior to point selection
Selected will be the part of the surface that the viewable sightline intesects with using interp2. The funciton will not return parts of the surface outside the visible axis
Known limitations:
- if the sight line to the cursor intersects with the surface multiple times in the span of less than a pixel the returned value may be errenous.
Example:
[X,Y,Z]=peaks(30);
surf(X,Y,Z);
[x,y,z,b] = ginputSurface(X,Y,Z,3);
Cite As
Derrick (2026). ginputSurface (https://ch.mathworks.com/matlabcentral/fileexchange/178859-ginputsurface), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (5.52 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
