how can i plot from excel?

i want plot(from .xls) like this picture
(attached file [Peak7-11,Longitude,Depth,Temperatue,Salinity=C62:C201,F2,H2,I2,K2]) pic 1(Longitude,Depth,Temperature) pic2(Longitude,Depth,Salinity) how can i plot???

回答(1 个)

David Sziroczak
David Sziroczak 2017-11-9

0 个投票

You read in the excel data using "xlsread" into a matrix https://uk.mathworks.com/help/matlab/ref/xlsread.html
Then you plot the matrix using "contourf" https://uk.mathworks.com/help/matlab/ref/contourf.html
Hope this helps,
Best regards,
David

此问题已关闭。

产品

标签

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!