Contoured plot with 1 vector and 2 matrix

11 views (last 30 days)
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
KSSV
KSSV on 4 Mar 2019
Have a look on pcolor and surf. If not share your data.

Sign in to comment.

Answers (1)

Ahmet altunsu
Ahmet altunsu on 4 Mar 2019
salinity and depth matrix are 63x10 and distance is 1x10 vector. my goal figure is like the upper one.
sal.png

Categories

Find more on Contour Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!