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

5 Ansichten (letzte 30 Tage)
young been kim
young been kim am 29 Jan. 2020
Beantwortet: Hiro Yoshino am 4 Feb. 2020
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 Kommentare
Walter Roberson
Walter Roberson am 29 Jan. 2020
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 am 4 Feb. 2020
thank you for your answer :)

Melden Sie sich an, um zu kommentieren.

Antworten (1)

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

Kategorien

Mehr zu Contour Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by