plotting a 3d graph for a 3d table
1 view (last 30 days)
Show older comments
I have a table and I want to plot a 3d graph for that.
0 Comments
Accepted Answer
Voss
on 30 Apr 2024
M = readmatrix('file.xlsx')
x = M(2:end,2);
y = M(1,3:end);
z = M(2:end,3:end);
figure
surf(x,y,z.')
More Answers (0)
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!