Creating 3-D surface and contour plot from csv

2 Ansichten (letzte 30 Tage)
hsnHkl
hsnHkl am 10 Feb. 2021
Bearbeitet: KALYAN ACHARJYA am 10 Feb. 2021
I am trying to create surface from given xlsx file and should be looks similar to this and contour looks like this

Antworten (1)

KALYAN ACHARJYA
KALYAN ACHARJYA am 10 Feb. 2021
Bearbeitet: KALYAN ACHARJYA am 10 Feb. 2021
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

Kategorien

Mehr zu Contour Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by