diff --git a/graphics/radial_distribution.jl b/graphics/radial_distribution.jl index 1d24552..c09afe8 100644 --- a/graphics/radial_distribution.jl +++ b/graphics/radial_distribution.jl @@ -5,7 +5,7 @@ using StaticArrays: SVector using ReCo: ReCo function gen_rdf_graphics() - Random.seed!(42) + Random.seed!(1) box_length = 100 box_height = 100 @@ -16,8 +16,8 @@ function gen_rdf_graphics() Drawing(box_length, box_height, "$graphics_export_dir/rdf_shells.pdf") origin() - particle_radius = 5 - Δr = 3 * particle_radius + particle_radius = 6 + Δr = 2.4 * particle_radius setcolor("blue") circle(Point(0, 0), particle_radius, :fill) @@ -25,8 +25,8 @@ function gen_rdf_graphics() N = 50 twice_max_particle_coordinate = box_length - selected_shell_ind = 2 - selected_lower_radius = selected_shell_ind * Δr + selected_shell_ind = 3 + selected_lower_radius = (selected_shell_ind - 1) * Δr particle_cs = Vector{SVector{2,Float64}}(undef, N) @@ -78,8 +78,8 @@ function gen_rdf_graphics() setline(0.3) line(Point(0, 0), Point(Δr, 0), :stroke) - fontsize(4) - text("r", Point(0.4 * Δr, 0.3 * Δr)) + fontsize(4.5) + text("Δr", Point(0.44 * Δr, -0.05 * Δr)) finish()