I am trying to plot a contour of Z where the value of Z is linked to an X and Y value. X and Y are temperature and pressure and Z is the amout of a variable.
data = xlsread('data.xlsx','Sheet1','A1:C300');
x = data(:,2);
y = data(:,1);
z = data(:,3);
[X,Y]=meshgrid(x,y);
contour(X,Y,z)
Any suggestions? I have attached the excel file.
Thank you!
Best Answer