ginputSurface

Graphical input from mouse on 3d surfaces

Vous suivez désormais cette soumission

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);

Citation pour cette source

Derrick (2026). ginputSurface (https://fr.mathworks.com/matlabcentral/fileexchange/178859-ginputsurface), MATLAB Central File Exchange. Extrait(e) le .

Add the first tag.

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0