Creating surface plot from 3 coloum Matrix?
显示 更早的评论
Good day together,
I would like to know if it is possible to create a surface plot using matlab from a 3 coloum matrix with different X and Y values. To be a bit more clear here is an example of how the data would look:
X Y Z
2000 20 rand
2000 40 rand
2000 60 rand
2500 30 rand
2500 50 rand
2500 70 rand
3000 20 rand
3000 60 rand
I found an answer here: https://de.mathworks.com/matlabcentral/answers/412639-creating-surface-plot-from-a-matrix-with-3-columns but this seems to only work when you always have the same Y values for each X step or at least the same amount of Y for each X value.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 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!