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

조회 수: 5 (최근 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 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