diff --git a/wave/plot.js b/wave/plot.js index f58d477..44043d8 100644 --- a/wave/plot.js +++ b/wave/plot.js @@ -5,6 +5,7 @@ const chart = new Chart("chart", { label: "Auslenkung", borderColor: "teal", backgroundColor: "teal", + tension: 0.5 } ] }, @@ -13,6 +14,16 @@ const chart = new Chart("chart", { x: { display: false } + }, + elements: { + point: { + radius: 0 + } + }, + plugins: { + legend: { + display: false + } } } }) diff --git a/wave/script.py b/wave/script.py index 306d362..01c186a 100644 --- a/wave/script.py +++ b/wave/script.py @@ -33,7 +33,7 @@ freq2 = document.querySelector("#freq") freq2.addEventListener("input", create_proxy(inp_update)) document.body.addEventListener("wheel", create_proxy(scroll_update)) -sampling_frequency = 1920 / 10 * 4 +sampling_frequency = 140 seconds = 2 time = np.linspace(0, seconds, int(seconds * sampling_frequency)) diff --git a/wave/wave.png b/wave/wave.png index cbda6fa..12cc6ac 100644 Binary files a/wave/wave.png and b/wave/wave.png differ