How to generate a contour map?

3 ビュー (過去 30 日間)
Rinu
Rinu 2014 年 1 月 30 日
コメント済み: Rinu 2014 年 1 月 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.

採用された回答

Walter Roberson
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.
  1 件のコメント
Rinu
Rinu 2014 年 1 月 30 日
Thanks.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeContour Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by