.. _sphx_glr_auto_examples_Particle_Physics_plot_LFV.py: LFV === The LFV diagram. .. image:: /auto_examples/Particle_Physics/images/sphx_glr_plot_LFV_001.png :align: center .. code-block:: python import matplotlib.pyplot as plt from feynman import Diagram fig = plt.figure(figsize=(10.,10.)) ax = fig.add_axes([0,0,1,1], frameon=False) diagram = Diagram(ax) in1 = diagram.vertex(xy=(.1,.5)) in2= diagram.vertex(xy=(.4,.5)) v1 = diagram.vertex(xy=(.65,.65)) v2 = diagram.vertex(xy=(.65,.35)) out1 = diagram.vertex(xy=(.9,.65),marker='') out2 = diagram.vertex(xy=(.9,.35),marker='') higgs = diagram.line(in1, in2, arrow=False, style='dashed') nu1 = diagram.line(v1, in2) nu2 = diagram.line(in2, v2) w = diagram.line(v1, v2, style='wiggly') lep = diagram.line(out1, v1) tau = diagram.line(v2, out2) nu1.text(r"$\nu_\ell$",fontsize=40) nu2.text(r"$\nu_\tau$",fontsize=40) lep.text(r"$\ell^+$",fontsize=40) tau.text(r"$\tau^-$",fontsize=40) diagram.text(0.72,0.5,"$W^\pm$",fontsize=40) higgs.text("H",fontsize=40) diagram.plot() plt.show() **Total running time of the script:** ( 0 minutes 0.074 seconds) .. only :: html .. container:: sphx-glr-footer .. container:: sphx-glr-download :download:`Download Python source code: plot_LFV.py ` .. container:: sphx-glr-download :download:`Download Jupyter notebook: plot_LFV.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_