traj_plot_3D | R Documentation |
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)
x |
Name of one of the state variables to be plotted. |
y |
Similar to |
z |
Similar to |
soln |
Solution output from |
domain |
Optional list like |
npts |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.