how to plot a 3d surface using a matrix
显示 更早的评论
I have a matrix d = 6x181, each of the numbers comprising it being density. How can I draw a surface plot against p and m, where m=1:1:6 and s=0:20:181? There was a similar question in the forum addressing the case of a matrix M with equal dimensions, but it was unclear to me, how to model it for my situation. Any help would be greatly appreciated.
采纳的回答
更多回答(1 个)
Walter Roberson
2018-10-23
0 个投票
See warp() which can accept arbitrary rectangular grid of coordinates including non uniform.
类别
在 帮助中心 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!