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???

Answers (1)

David Sziroczak
David Sziroczak on 9 Nov 2017

0 votes

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.

Products

Tags

Asked:

on 5 Nov 2017

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!