Creating a simple 2D contour plot from data files(xlsx or txt).
5 次查看(过去 30 天)
显示 更早的评论
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
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()
回答(1 个)
Hiro Yoshino
2020-2-4
Here the function for 'contour':
Give me detail if possible and then we can work on your problem.
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!