xyimagesc.m

Same as imagesc but works when X and Y are not evenly spaced.
688 téléchargements
Mise à jour 28 mars 2014

Afficher la licence

Syntax:
>> xyimagesc(X,Y,C)
>> xyimagesc(X,Y,C,...)
>> xyimagesc(X,Y,C,... 'PropertyName', PropertyValue ... )
The imagesc function works well when the user does not want the interpolation behavior of other functions. However if the data is not on an evenly spaced grid imagesc does not work.

This is not a very common situation but it may arise if the user wants to display something like a covariance matrix for a series of irregularly spaced measurements, which is why this function was written.

Notes:
- NaN values are displayed as white patches.
- all axis and figure properties should work when passed in as <'PropertyName', PropertyValue> pairs.

Citation pour cette source

Anthony Bathgate (2025). xyimagesc.m (https://fr.mathworks.com/matlabcentral/fileexchange/32732-xyimagesc-m), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2009a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Remerciements

A inspiré : Offsets and missing data via pcolor and surf

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.1.0.0

Performance improvements using more built-in functions. Provided by Seth Duek.

1.0.0.0