Skip to content
Snippets Groups Projects
Commit 6383ce13 authored by Albin Heimerson's avatar Albin Heimerson
Browse files

improve step plot range for zero

parent 4de3b2ee
Branches
No related tags found
1 merge request!2Add functionality for AK
...@@ -479,7 +479,7 @@ mod tf_plots { ...@@ -479,7 +479,7 @@ mod tf_plots {
// Calculate plot bounds // Calculate plot bounds
let t_bounds = (0.0 - t_end * pad_ratio)..(t_end + t_end * pad_ratio); let t_bounds = (0.0 - t_end * pad_ratio)..(t_end + t_end * pad_ratio);
let y_bounds = (0.0 - pad_ratio)..(1.5 + pad_ratio); let y_bounds = (-0.5 - pad_ratio)..(1.5 + pad_ratio);
// Calc plot data // Calc plot data
let step = (t_bounds.end - t_bounds.start) / ((n_samples - 1) as f64); let step = (t_bounds.end - t_bounds.start) / ((n_samples - 1) as f64);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment