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 Commento

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

Accedi per commentare.

Risposte (1)

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

2 Commenti

Read about scatter
did you get the result?

Accedi per commentare.

Categorie

Richiesto:

il 4 Mar 2019

Commentato:

il 12 Mar 2020

Community Treasure Hunt

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

Start Hunting!

Translated by