function to plot velocity distributions

plot_distribution(particles, v_par, v_perp, logscale = TRUE)

Arguments

particles

list list of particles with distribution setups.

v_par

numeric value of parallel velocity

v_perp

numeric value of perpendicular velocity

logscale

logical if TRUE sets log scale on y-axis

Value

ggplot 1D plot of distributions