

.. _sphx_glr_gallery_pylab_examples_arctest.py:


=======
Arctest
=======





.. image:: /gallery/pylab_examples/images/sphx_glr_arctest_001.png
    :align: center





.. code-block:: python

    import matplotlib.pyplot as plt
    import numpy as np


    def f(t):
        'a damped exponential'
        s1 = np.cos(2 * np.pi * t)
        e1 = np.exp(-t)
        return s1 * e1

    t1 = np.arange(0.0, 5.0, .2)


    l = plt.plot(t1, f(t1), 'ro')
    plt.setp(l, 'markersize', 30)
    plt.setp(l, 'markerfacecolor', 'b')

    plt.show()

**Total running time of the script:** ( 0 minutes  0.024 seconds)



.. container:: sphx-glr-footer


  .. container:: sphx-glr-download

     :download:`Download Python source code: arctest.py <arctest.py>`



  .. container:: sphx-glr-download

     :download:`Download Jupyter notebook: arctest.ipynb <arctest.ipynb>`

.. rst-class:: sphx-glr-signature

    `Generated by Sphinx-Gallery <https://sphinx-gallery.readthedocs.io>`_
