Plot a 3d surface
Show older comments
I need to plot exactly this photo from my exel data. What is it's code? i what z scale as the picture
Answers (1)
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1101840/Ex12.xlsx') ;
data = table2array(T) ;
x = data(1,2:end) ;
y = data(2:end,1) ;
Z = data(2:end,2:end) ;
mesh(x,y,Z') ;
5 Comments
Niloofar Moosavi
on 19 Aug 2022
Rik
on 19 Aug 2022
You can use the XTickLabel property of the axes object.
Niloofar Moosavi
on 19 Aug 2022
Rik
on 19 Aug 2022
Have you read the documentation to see what properties you can edit?
Niloofar Moosavi
on 19 Aug 2022
Categories
Find more on Polar 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!