Info

This question is closed. Reopen it to edit or answer.

how can i plot from excel?

1 view (last 30 days)
junghun kim
junghun kim on 5 Nov 2017
Closed: MATLAB Answer Bot on 20 Aug 2021
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???

Answers (1)

David Sziroczak
David Sziroczak on 9 Nov 2017
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

This question is closed.

Tags

Products

Community Treasure Hunt

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

Start Hunting!