How to generate a contour map?
조회 수: 2 (최근 30일)
이전 댓글 표시
Is there any way to generate a contour map from random 2-D scattered data points without a grid? I just have the X and Y coordinates and the values of the points.
댓글 수: 0
채택된 답변
Walter Roberson
2014년 1월 30일
The easiest way is to interpolate onto a grid. See TriScatteredInterp or the new GriddedInterpolant .
The impression I formed several years ago was that the contouring algorithm that is used by contour() can be adapted for the points being irregularly spaced, but even if that impression is true the work required would be more than using one of the above.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Contour Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!