3D contour from obtained data
1 次查看(过去 30 天)
显示 更早的评论
Hello! I
I have a file which contains 3 coordinates (x,y,z) and the value of the function in these coordinates. What code should I use to plot a 3D contour plot?
I attached a picture as an example of what I want to get. Tje contour of the figure will be different, but I know how to plot it.
-----------------------------------------------------------------------------
-1 -1 -1 -20
-0.98 -1 -1 10
-0.96 -1 -1 1
-0.94 -1 -1 25
-0.92 -1 -1 -5
-0.9 -1 -1 6
-0.88 -1 -1 7
-0.86 -1 -1 6
-0.84 -1 -1 9
-0.82 -1 -1 10
-0.8 -1 -1 -2
-0.78 -1 -1 -18
-0.76 -1 -1 -15
-------------------------------------------------------------------------------
File data.txt has 1030302 rows, 9 columns, but only the first 4 columns are important for me.
回答(1 个)
另请参阅
类别
在 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!