From c68d7f3e45510f50115038a0351add04725a5a25 Mon Sep 17 00:00:00 2001 From: Mo8it Date: Sat, 29 Jan 2022 01:40:57 +0100 Subject: [PATCH] Fix line width --- graphics/center_of_mass.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/graphics/center_of_mass.jl b/graphics/center_of_mass.jl index 5d238a7..4c93626 100644 --- a/graphics/center_of_mass.jl +++ b/graphics/center_of_mass.jl @@ -49,7 +49,7 @@ function gen_COM_graphics() addstop(green_orange, (2 * L) / (3 * L), "orange") addstop(green_orange, 1.0, "green") setblend(green_orange) - setline(0.8) + setline(1.0) line(Point(-L, 0), Point(L, 0), :stroke) setcolor("red") @@ -93,8 +93,8 @@ function gen_COM_graphics() text("α", Point(1.22 * R, 0.035 * R)) text("β", Point(-0.04 * R, -1.23 * R)) - orange_green = blend(Point(0, -R), Point(0, R), "green", "orange") - setblend(orange_green) + green_orange = blend(Point(0, -R), Point(0, R), "green", "orange") + setblend(green_orange) setline(1.0) circle(Point(0, 0), R, :stroke)