Function create_regression_trace
Source pub fn create_regression_trace(
freqs: &Array1<f64>,
values: &Array1<f64>,
name: &str,
color: &str,
x_axis: Option<&str>,
y_axis: Option<&str>,
) -> Scatter<f64, f64>
Expand description
Create a scatter plot trace for a regression line
§Arguments
freqs - Frequency points
values - SPL values for the regression line
name - Name for the trace
color - Color for the line
x_axis - X axis identifier (optional)
y_axis - Y axis identifier (optional)
§Returns
Scatter plot trace