Add argument to PlotSubMeteringVsTime() to control legend border visibility; checkpoint working version of Plot4 before refactoring.