# MATLAB: How to plot one variable (density for example) at a 2D contour graph ( time and depth for example)

2d contour graph3 variablesgridded surfaceplot

I have the following array (761049×3 double), with the columns representing (time,depth,density). I would like to plot a graph of the density(z) ranging in time(x) and depth(y) in a 2D visualization. I tried many plot's command but none of them worked. Can someone help me with that?
Thanks for the attention,
Gustavo

doc meshgrid