Contoured plot with 1 vector and 2 matrix

Hi there,
my question about plotting. I have salinity, depth and distance data. distance are vector, salinity and depth is matrix. so i want to draw a plot which the x axis distance, y axis depth and salinity data contoured.
But i dont know how to do it and i didnt find it.
Thank you for answers.

1 Comment

Have a look on pcolor and surf. If not share your data.

Sign in to comment.

Answers (1)

salinity and depth matrix are 63x10 and distance is 1x10 vector. my goal figure is like the upper one.
sal.png

Categories

Asked:

on 4 Mar 2019

Commented:

on 12 Mar 2020

Community Treasure Hunt

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

Start Hunting!