バージョン (4.42 KB) 作成者: Anthony Bathgate
Same as imagesc but works when X and Y are not evenly spaced.

ダウンロード 660 件

更新 2014/3/28


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

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


Anthony Bathgate (2022). xyimagesc.m (https://www.mathworks.com/matlabcentral/fileexchange/32732-xyimagesc-m), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2009a
Windows macOS Linux

ヒントを与えたファイル: 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!