Creating a simple 2D contour plot from data files(xlsx or txt).

6 ビュー (過去 30 日間)
young been kim
young been kim 2020 年 1 月 29 日
回答済み: Hiro Yoshino 2020 年 2 月 4 日
I want to create a simple contour line with a file with an extension of xlsx or txt. However, it is difficult to use the code because the data file has five lines. How should the x, y, and z values be given and how should the code be made?
  2 件のコメント
Walter Roberson
Walter Roberson 2020 年 1 月 29 日
The data has many lines but 5 columns.
As outside observers we have no way of knowing which column has what meaning.
It looks to me as if entries of -99 indicate missing data and so those rows probably need to be removed.
After that you would probably use scatteredinterpolant()
young been kim
young been kim 2020 年 2 月 4 日
thank you for your answer :)

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

回答 (1 件)

Hiro Yoshino
Hiro Yoshino 2020 年 2 月 4 日
Here the function for 'contour':
Give me detail if possible and then we can work on your problem.

カテゴリ

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