Info

此问题已关闭。 请重新打开它进行编辑或回答。

how can i plot from excel?

1 次查看(过去 30 天)
junghun kim
junghun kim 2017-11-5
关闭: MATLAB Answer Bot 2021-8-20
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
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

此问题已关闭。

标签

产品

Community Treasure Hunt

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

Start Hunting!