commit 00cd583e3664a7d7fdf4748b37e837d3b4465251 parent 286a8dd832713e90a453283e956192fd24991f09 Author: breadcat <breadcat@users.noreply.github.com> Date: Mon, 3 Aug 2026 16:12:41 +0100 Smoother, thicker lines and a better colour scheme Diffstat:
| M | scripts/blog-weight.nix | | | 10 | ++++++++-- |
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/scripts/blog-weight.nix b/scripts/blog-weight.nix @@ -33,9 +33,15 @@ set ylabel "Weight (kg)" set key off set term svg font 'sans-serif,12' - set sample 50 + set samples 200 set output "temp.svg" - plot "temp.dat" using 1:2 smooth cspline with lines + set border lc rgb "#666666" + set xtics textcolor rgb "#AAAAAA" + set ytics textcolor rgb "#AAAAAA" + set xlabel textcolor rgb "#AAAAAA" + set ylabel textcolor rgb "#AAAAAA" + set grid lc rgb "#444444" + plot "temp.dat" using 1:2 smooth bezier with lines lc rgb "#6CB6FF" lw 2 EOF printf "done\\nWriting page... " {