2d ternary contour map
1 次查看(过去 30 天)
显示 更早的评论
I have x, y, z independent data of same size . I also have a dependent data 'w' on these three xyz variables with same size. I want to plot a 2d ternary diagram wherein each side of the triangle depicts the variation of x y z,and inside of the triangle depicts the variation of w. Please help me with this regard. Thank you matlab community
5 个评论
采纳的回答
KSSV
2021-8-26
Read about delaunayTriangulation. This is your function.
Demo:
x = rand(10,1) ;
y = rand(10,1) ;
z = rand(10,1) ;
w = rand(10,1) ;
dt = delaunayTriangulation(x,y) ;
%
t = dt.ConnectivityList ;
trisurf(t,x,y,z,w) ;
shading interp ;
colorbar
If you are not able to get it, you may share your data.
5 个评论
更多回答(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!