How do I create a Contour plot such as below with three interdependent variables?
Afficher commentaires plus anciens
Réponse acceptée
Plus de réponses (1)
KSSV
le 11 Juin 2020
data = xlsread("Book1.xlsx") ; % you can use readtable also
data(:,2) = [] ; % second column if NaN's remove it
x = data(1,2:end) ; % x axis
y = data(2:end,1) ; % y-axis
Z = data(2:end,2:end) ; % data matrix
pcolor(x,y,Z)
shading interp ;
colorbar
1 commentaire
Sahil Patel
le 11 Juin 2020
Catégories
En savoir plus sur Vector Fields dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
