.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/states/plot_splay.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_auto_examples_states_plot_splay.py: Splay state =========== In a splay state phases are evenly distributed on the circle. The order parameter R1 = 0. Phases increase linearly with node index. .. GENERATED FROM PYTHON SOURCE LINES 8-20 .. image-sg:: /auto_examples/states/images/sphx_glr_plot_splay_001.png :alt: plot splay :srcset: /auto_examples/states/images/sphx_glr_plot_splay_001.png :class: sphx-glr-single-img .. code-block:: Python import matplotlib.pyplot as plt import hypersynchronization as hs N = 20 theta = hs.generate_state(N, kind="splay", noise=0) fig, axes = plt.subplots(1, 2, figsize=(6, 3)) hs.plot_phases(theta, ax=axes[0]) hs.plot_phases_line(theta, ax=axes[1]) plt.tight_layout() plt.show() .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.231 seconds) .. _sphx_glr_download_auto_examples_states_plot_splay.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_splay.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_splay.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_splay.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_