From 6324430a532078bdc925d7efbfdfa07de5c535c3 Mon Sep 17 00:00:00 2001 From: Valentin Boettcher Date: Sun, 21 Feb 2021 21:11:35 +0100 Subject: [PATCH] tweak line thickness and round step --- index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index bc5834c..feb4818 100644 --- a/index.js +++ b/index.js @@ -273,11 +273,14 @@ function plot_propagation(neutrino_data) { const pmns_matrix = pmns(t12, t23, t13); - const dL = ((L_max) / 1000); + const dL = math.round((L_max) / 1000, 6); + console.log( dL ); + const lengths = math.range(0, L_max, dL); const common_options = { pointRadius: 0, + borderWidth: 1, }; const datasets = [