Add a function to the plotting algorithm, where DEPTH is plotted against TIME with a colorbar for a variable to choose. The colorbar should be dependent on the variable and if density is plotted the mixed layer depth could be included.
Example of a function I already wrote for myself, with no limitation how many variables can be plotted:

Add a function to the plotting algorithm, where DEPTH is plotted against TIME with a colorbar for a variable to choose. The colorbar should be dependent on the variable and if density is plotted the mixed layer depth could be included.
Example of a function I already wrote for myself, with no limitation how many variables can be plotted: