Plot density function as an interactive 3D surface
Arguments
- u
A numeric matrix containing the density (rows = time, columns = size).
- Delta_l
Size step size used to compute
u
.- Delta_t
Time step size used to compute
u
.- l_min
Size at which the plot should start.
- ...
Further arguments passed to
plotly::add_surface()
.
Examples
if (FALSE) { # \dontrun{
pars <- list(k = 0.5, L_inf = 100, d = 1, m = 0.2)
u <- getDensity(pars, l_max = 100, Delta_l = 1, t_max = 10, Delta_t = 0.1)
plotDensity3D(u, Delta_l = 1, Delta_t = 0.1)
} # }