Surface plot based on cell center values

14 ビュー (過去 30 日間)
Josh
Josh 2015 年 4 月 7 日
コメント済み: Mohammad Abouali 2015 年 4 月 7 日
I have an array of data corresponding to the values at the center of the cells in the grid. Is there a way to plot the data on a contour or surface plot which is based on the values at the cell center, rather than at the intersection of grid lines? Thanks

採用された回答

Mohammad Abouali
Mohammad Abouali 2015 年 4 月 7 日
編集済み: Mohammad Abouali 2015 年 4 月 7 日
Data=rand(10,10);
imagesc(s);
check imagesc() for detail description of the function.
  2 件のコメント
Josh
Josh 2015 年 4 月 7 日
Thanks. That is exactly what I wanted.
Mohammad Abouali
Mohammad Abouali 2015 年 4 月 7 日
you are welcome

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by