How to make a graph that shows evolution of a variable in time through different depths in a lake.
Ältere Kommentare anzeigen
Hi all, I saw this graph a lot in papers (like the image below), but I do not have any idea how to make it in Matlab. I want to show a lake's temperature evolution through time in different depths, like the graph I attached. I have a matrix: Z=3705x38 matrix which shows data from 38 depth levels during 3705 days (each column is data from a sensor deployed in the depth of the lake). Please consider that the depth intervals are not the same and I want to show that is lake. so as in the picture, the x axis should be the time, the y axis should be depth and the graph legend shows the temperature range. Your advice will help me tons
1 Kommentar
John D'Errico
am 20 Okt. 2018
Please don't post a duplicate question just to attach the same image in two different ways.
Akzeptierte Antwort
Weitere Antworten (1)
Image Analyst
am 20 Okt. 2018
0 Stimmen
I'd use imshow() with a colormap. If you need to digitize spatial data that is not yet on a regular grid, with values at every point, then you can use scatteredInterpolant. If you can't figure it out, attach your Z array in a .mat file.
1 Kommentar
Marmar
am 20 Okt. 2018
Kategorien
Mehr zu Contour Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!