add_lines_label¶
-
sitelle.plot.add_lines_label(ax, filter, velocity, wavenumber=True, offset=15, **kwargs)¶ Decorates an axis with lines labels. It puts a tick at a given position of the top axes of the plot, and displays the name of the line above.
Parameters: - ax (
Axes) – The matplotlib axes to modify - filter (string) – ‘SN2’ or ‘SN3’.
- velocity (list of float) – The velocities at wich we want to display the lines.
- wavenumber (bool, Default True) – (Optional) If True, compute the position in cm-1, else’ in Angstroms.
- offset (integer) – (Optioanl) Pixel offset of the tick. Default = 15
- kwargs (dict) – Additional keyword arguments accepted by
matplotlib.axes.Axes.annotate
- ax (