src.plot
Functions
|
Plots the results of the slope versus k value calculation alongside its |
Module Contents
- src.plot.plot_results(k_values, slopes, mathematica_data, m_max)
Plots the results of the slope versus k value calculation alongside its comparison with Mathematica data. The generated plot visualizes the relationship between the k values and the corresponding slopes, and it includes a display of Mathematica’s output for validation purposes.
- Parameters:
k_values – A list or array of values for the variable k.
slopes – A list or array of slope values corresponding to the k_values.
mathematica_data – A DataFrame containing Mathematica’s results for slope vs. k, where the first column represents k values and the second column represents the associated slopes.
m_max – A numeric value representing the maximum m value used in the calculation, which will be displayed in the plot title.
- Returns:
None