Figure with multiple AXES setup in a loop!

Cananéia/SP - longitudinal survey of CTD

CTD JFE-Rinko + GPS

Depth trigger / software Infinity SDlogger

image.png

Load the CTD data, and make it ready to work... do it 1x, and after check it works fine, create a funcion to run the batch!

Load GPS

During the survey we marked the points of every cast, but forgot some... so here I just interpolate to make it easier...

Calculating the distance along the survey

1 degree = 111.12 km!

And create and array of the distances for each level of CTD's measurement

Creating the mask to indicate the 'bottom'

Interpolating...

Checking...

Grand finale...

Create the final figura, but this time I create the axes in a loop... much cleaner way!