R/plot_distribution.R
plot_distribution.Rd
function to plot velocity distributions
plot_distribution(particles, v_par, v_perp, logscale = TRUE)
list list of particles with distribution setups.
list
numeric value of parallel velocity
numeric
numeric value of perpendicular velocity
logical if TRUE sets log scale on y-axis
logical
ggplot 1D plot of distributions
ggplot