
Last chance! 50% off unlimited learning
Sale ends in
Takes a trajectory with three state variables as produced by integrateODE()
and plots out in a 3-dimensional perspective plot, which can be rotated.
traj_plot_3D(x, y, z, soln, domain = NULL, npts = 1000)
Name of one of the state variables to be plotted.
Similar to x
Similar to y
and x
Solution output from integrateODE()
Optional list like domain=domain(t=c(0,100))
. By default, this
will be inferred from soln
Number of points at which to evaluate the solution.
Lorenz <- makeODE(dx ~ sigma*(y-x), dy ~(x*(rho-z) - y), dz ~ (x*y - beta*z),
rho=28, sigma=10, beta = 8/3)
T1 <- integrateODE(Lorenz, domain(t=0:50), x=-5, y=-7, z=19.4)
traj_plot_3D(x, y, z, T1, npts=5000)
Run the code above in your browser using DataLab