Creating 3-D surface and contour plot from csv

4 次查看(过去 30 天)
I am trying to create surface from given xlsx file and should be looks similar to this and contour looks like this

回答(1 个)

KALYAN ACHARJYA
KALYAN ACHARJYA 2021-2-10
编辑:KALYAN ACHARJYA 2021-2-10
Please refer the MATLAB docs
data=readmatrix('180.xlsx');
figure,surf(data);
% Here matrix elements represent the heights (z direction)
See the contour function here

类别

Help CenterFile Exchange 中查找有关 Contour Plots 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by