powered by
Function to plot the particle trajectory after the simulation class has been constructed.
simulation
plot_traj(object, title = NA)
2D plot of particle trajectory for a given simulation from simulation
class.
an S4 object of class simulation
main title of the plot. If NA, title is "model_name with M particles" with model_name and M being field in simulation class.
NA
model_name
M
tools:::Rd_package_author("AIUQ")
library(AIUQ) sim_bm = simulation(sz=100,len_t=100,sigma_bm=0.5) show(sim_bm) plot_traj(sim_bm)
Run the code above in your browser using DataLab