From 9ece3a526f3150e380c5429da22a73f5e2d9743c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Wed, 29 Nov 2023 12:35:25 +0100 Subject: [PATCH] auto bounds --- src/bin/psd.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/psd.rs b/src/bin/psd.rs index 6aba33d..0c1c7ac 100644 --- a/src/bin/psd.rs +++ b/src/bin/psd.rs @@ -380,6 +380,8 @@ impl App { .x_grid_spacer(log10_grid_spacer) .x_axis_formatter(log10_axis_formatter) .link_axis("plots", false, false) + .auto_bounds_x() + .auto_bounds_y() .y_axis_width(4) .y_axis_label("Power spectral density (dB/Hz) or integrated RMS") .legend(Legend::default())