ginputSurface

Graphical input from mouse on 3d surfaces

Sie verfolgen jetzt diese Einreichung

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

Zitieren als

Derrick (2026). ginputSurface (https://de.mathworks.com/matlabcentral/fileexchange/178859-ginputsurface), MATLAB Central File Exchange. Abgerufen .

Add the first tag.

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.0.0