mirror of
https://gitlab.rlp.net/mobitar/ReCo.jl.git
synced 2024-11-08 22:21:08 +00:00
Fix line width
This commit is contained in:
parent
33c1c8e539
commit
c68d7f3e45
1 changed files with 3 additions and 3 deletions
|
@ -49,7 +49,7 @@ function gen_COM_graphics()
|
||||||
addstop(green_orange, (2 * L) / (3 * L), "orange")
|
addstop(green_orange, (2 * L) / (3 * L), "orange")
|
||||||
addstop(green_orange, 1.0, "green")
|
addstop(green_orange, 1.0, "green")
|
||||||
setblend(green_orange)
|
setblend(green_orange)
|
||||||
setline(0.8)
|
setline(1.0)
|
||||||
line(Point(-L, 0), Point(L, 0), :stroke)
|
line(Point(-L, 0), Point(L, 0), :stroke)
|
||||||
|
|
||||||
setcolor("red")
|
setcolor("red")
|
||||||
|
@ -93,8 +93,8 @@ function gen_COM_graphics()
|
||||||
text("α", Point(1.22 * R, 0.035 * R))
|
text("α", Point(1.22 * R, 0.035 * R))
|
||||||
text("β", Point(-0.04 * R, -1.23 * R))
|
text("β", Point(-0.04 * R, -1.23 * R))
|
||||||
|
|
||||||
orange_green = blend(Point(0, -R), Point(0, R), "green", "orange")
|
green_orange = blend(Point(0, -R), Point(0, R), "green", "orange")
|
||||||
setblend(orange_green)
|
setblend(green_orange)
|
||||||
setline(1.0)
|
setline(1.0)
|
||||||
circle(Point(0, 0), R, :stroke)
|
circle(Point(0, 0), R, :stroke)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue