Plotting
Streamfall.plot_residuals
— Methodplot_residuals(obs::Array, sim::Array; xlabel="", ylabel="", title="")
Plot residual between two sequences.
Arguments
- x : x-axis data
- y : y-axis data
- xlabel : x-axis label
- ylabel : y-axis label
- title : title text
Streamfall.symlog
— MethodSymmetrical log values.
https://kar.kent.ac.uk/32810/2/2012Bi-symmetric-log-transformationv5.pdf https://discourse.julialang.org/t/symmetrical-log-plot/45709/3
Streamfall.temporal_cross_section
— Methodtemporal_cross_section(
dates, obs, sim;
title="", ylabel="Median Error", label=nothing, period::Function=monthday, kwargs...
)
Provides indication of temporal variation and uncertainty across time, grouped by period
.
Notes: Assumes daily data. Filters out leap days.
Arguments
dates
: Date of each observationobs
: Observed datasim
: Simulated datatitle
: Optional plot title. Blank if not provided.ylabel
: Optional replacement ylabel. Uses name ofperiod
if not provided.label
: Optional legend label. Usesylabel
if not provided.period
: Method fromDates
package to group (defaults tomonth
)
Streamfall.temporal_cross_section
— Methodtemporal_cross_section(dates, obs; ylabel=nothing, period::Function=monthday)
Provides indication of temporal variation and uncertainty across time, grouped by period
.
Notes: Assumes daily data. Filters out leap days.
Arguments
- dates : Date of each observation
- obs : observed data
- ylabel : Optional replacement ylabel. Uses name of
func
if not provided. period::Function
: Method fromDates
package to group (defaults tomonthday
)