imslice

Selects and plots a cdata slice

Sie verfolgen jetzt diese Einreichung

This function can be applied on any figure containing a graphical object having a 'cdata' property.

When the mouse is clicked on the object, a vertical (left button) or horizontal (right button) line marker appears over the object, and a new figure is opened, containing a plot of the selected slice. Closing this figure removes the marker.

Usage example:
>> figure; imagesc(randn(100));
>> colormap hot; imslice;

Zitieren als

Francois Bouffard (2026). imslice (https://de.mathworks.com/matlabcentral/fileexchange/11845-imslice), MATLAB Central File Exchange. Abgerufen .

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und MATLAB Answers

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.0

Fixed problem with slice markers not disappearing if user clicked too fast. General code cleanup. Clearer information in the slice figure. Previous/next slice feature using left/right click or arrow keypress in slice figure.