plotSourcesSinksReservoirsDiagram
Plot sources, sinks, and reservoirs diagram.
Declaration
fig = plotSourcesSinksReservoirsDiagram(self,options)
Parameters
selfWVDiagnostics objectenergyReservoirs(optional) vector of EnergyReservoir objects (default: [geostrophic, wave]) (default: [EnergyReservoir.geostrophic_mda, EnergyReservoir.wave])customNames(optional) dictionary for custom names (default: configureDictionary(“string”,”string”))fluxTolerance(optional) tolerance for displaying fluxes (default: 1e-2)shouldShowUnits(optional) show units in labels (default: true)timeIndices(optional) indices for time averaging (default: Inf)shouldShowReservoirEnergy(optional) show reservoir energy (default: true)shouldShowExactValues(optional) input argumentshouldShowExactValues(default: true)title(optional) diagram title (default: “Energy Pathways”)visible(optional) figure visibility (default: “on”)
Returns
fighandle to the generated figure
Discussion
This function will be removed and replaced by plotSourcesSinksForReservoirGroup.