abline¶
-
seas.signalanalysis.abline(slope: float, intercept: float, x_max: float, label: Optional[str] = None, color: Optional[str] = None, x_min: float = 0) → None[source]¶ Plot a line to the currently active plt figure based on slope and intercept.
- Parameters
slope – The line slope.
intercept – The line y intercept.
x_max – The maximum x value to draw the line to.
x_min – The minimum x value to draw the line to.
label – The line label, if applicable.
color – The matplotlib color string. If not specified, uses the next default option.
- Returns
None