File:Gauss and Lorentz lineshapes.svg
From testwiki
Jump to navigation
Jump to search
Original file (SVG file, nominally 1,082 × 695 pixels, file size: 63 KB)
Contents
This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.
Summary
| DescriptionGauss and Lorentz lineshapes.svg |
English: Comparison of Gaussian (red) and Lorentzian (blue) standardized line shapes. |
||
| Date | |||
| Source |
Own work
|
||
| Author | LvdT88 | ||
| Other versions |
[edit] .svg:
.png:
|
Source Code
\documentclass[crop,tikz,convert=pdf2svg]{standalone}
\usetikzlibrary{backgrounds}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16}
\makeatletter
\begin{document}
\begin{tikzpicture}[scale=3,background rectangle/.style={fill=white}, show background rectangle]
\begin{axis}[
no markers,
width=300,
height=190,
xmin = -4.1, xmax = 4.1,
ymin = -0.025, ymax = 1.025,
ytick = {0,0.25,0.5,0.75,1},
yticklabels = {\(0\),\(\frac{1}{4}\),\(\frac{1}{2}\),\(\frac{3}{4}\),\(1\)},
domain=-4.5:4.5,
samples=512,
xlabel=\(\frac{p - p_0}{w/2}\),
ylabel={Intensity}
]
\addplot[color=red] {exp(-0.6931472*x^2)};
\addplot[color=blue] {1/(1+x^2)};
\addplot [color=black,dotted] coordinates {(0,-0.1) (0,1.1)};
\addplot [color=black,dotted] coordinates {(1,-0.1) (1,1.1)};
\addplot [color=black,dotted] coordinates {(-1,-0.1) (-1,1.1)};
\addplot [color=black,dotted] coordinates {(-4.2,0.5) (4.2,0.5)};
\legend{Gaussian, Lorentzian}
\end{axis}
\end{tikzpicture}
\end{document}
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
| This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication. | |
| The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
Captions
Comparison of Gaussian (red) and Lorentzian (blue) standardized line shapes.
Items portrayed in this file
depicts
6 April 2020
image/svg+xml
64,698 byte
c7ee26971c70b090bf2b24e7b2a65477452e5f21
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Thumbnail | Dimensions | User | Comment | |
|---|---|---|---|---|---|
| current | 18:57, 6 April 2020 | 1,082 × 695 (63 KB) | wikimediacommons>LvdT88 | Increased scale. |
File usage
There are no pages that use this file.