Surface plot based on cell center values

조회 수: 24 (최근 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 CenterFile Exchange에서 Contour Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by