I need your assistance about plotting x y z axis surface graphic
I have tunnel data on excel; Tunnel lenght, Temperature, Time
I want to show these datas on matlab
here is my datas
Thank you so much
No products are associated with this question.
data = xlsread('filename.xlsx'); % read in everything (numeric) t = data(1,2:end); % first row (except first element) l = data(2:end,1); % first column (except first element) temp = data(2:end,2:end); % actual data in the table surf(t,l,temp) % make surface plot
Thank you so much for your help Matt, This link will help me im sure :) I have one more question, can i change x axis position with y axis? if i can do that, do i have to change my excel data? i want to show my datas like this.
Here is the link : http://speedy.sh/A9vqW/heat-transfer-conduction-radiation-3dgraph-499px.png
I changed the code as you said;
data = xlsread('sıcaklık100mw.xlsx'); t = data(1,2:end); l = data(2:end,1); temp = data(2:end,2:end); surf(l,t,temp)
But i got this error message:
Error using surf (line 75) Data dimensions must agree.