How do I create a Contour plot such as below with three interdependent variables?
Mostra commenti meno recenti
Risposta accettata
Più risposte (1)
KSSV
il 11 Giu 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 Commento
Sahil Patel
il 11 Giu 2020
Categorie
Scopri di più su Vector Fields in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
