Creating surface plot from 3 coloum Matrix?
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!