Creating 3-D surface and contour plot from csv

4 visualizzazioni (ultimi 30 giorni)
hsnHkl
hsnHkl il 10 Feb 2021
Modificato: KALYAN ACHARJYA il 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

Risposte (1)

KALYAN ACHARJYA
KALYAN ACHARJYA il 10 Feb 2021
Modificato: KALYAN ACHARJYA il 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

Categorie

Scopri di più su Contour Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by