diff options
author | Keith Packard <keithp@keithp.com> | 2017-10-02 19:33:37 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-10-02 19:33:37 -0700 |
commit | 98dc29a7a964f8d653b73989c6751695d168844c (patch) | |
tree | 415e274078746fe853aad554aae1a2e5d1a57ca5 /altosuilib/AltosUIGraph.java | |
parent | d75e8b9046295051c91696461e8d5f59c8260ccc (diff) |
altoslib: Add user-selectable filter width for data smoothing
Also switch smoothing window to Kaiser and change default accel filter
width to 1 second instead of 4 seconds.
Now users can play with the filter and see what it does.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosuilib/AltosUIGraph.java')
-rw-r--r-- | altosuilib/AltosUIGraph.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/altosuilib/AltosUIGraph.java b/altosuilib/AltosUIGraph.java index 0caabcfa..efc3d493 100644 --- a/altosuilib/AltosUIGraph.java +++ b/altosuilib/AltosUIGraph.java @@ -95,6 +95,10 @@ public class AltosUIGraph implements AltosUnitsListener { s.set_units(); } + public void filter_changed() { + units_changed(false); + } + public void setName (String name) { chart.setTitle(name); } |