hypersynchronization.plot_order_param#
- hypersynchronization.plot_order_param(thetas, times, order=1, color='r', ls='-', ax=None, **kwargs)[source]#
Plot the order parameter over time for the given phases thetas.
- Parameters:
- thetasndarray
The values of the phases over time.
- timesndarray
The corresponding times.
- axMatplotlib axis, optional
The Matplotlib axis to plot on, by default None (creates a new axis).
- orderint, optional
The order of the order parameter, by default 1.
- colorstr, optional
The color of the plot, by default “r”.
- lsstr, optional
The line style of the plot, by default “-“.
- **kwargs
Additional arguments that will be passed to matplotlib’s plot.
- Returns:
- axMatplotlib axis
The Matplotlib axis the plot was drawn on.