La Cloche de Gauss
📅 March 10, 2024 | 👁️ Views: 72

\documentclass{standalone}
\standaloneconfig{border=2mm 2mm 2mm 2mm}
\usepackage{pgfplots}
\begin{document}
\pgfmathdeclarefunction{gauss}{2}{%
\pgfmathparse{1/(#2*sqrt(2*pi))*exp(-((x-#1)^2)/(2*#2^2))}%
}
\begin{tikzpicture}
\begin{axis}[every axis plot post/.append style={
mark=none,domain=-2:3,samples=50,smooth}, % All plots: from -2:2, 50 samples, smooth, no marks
axis x line*=bottom, % no box around the plot, only x and y axis
axis y line*=left, % the * suppresses the arrow tips
enlargelimits=upper] % extend the axes a bit to the right and top
\addplot {gauss(0,0.5)};
\addplot {gauss(1,0.75)};
\end{axis}
\node[above right] at (3,5) {$\mu$: la moyenne de la distribution};
\node[above right] at (3,4.5) {$\sigma$: l'ecart-type};
\node[above right] at (3,3.7) {$f_{(\sigma,\mu)}(x)=\frac{1}{\sigma\sqrt{2\pi}} \cdot e^{-\frac{(x-\mu)^2}{2\sigma^2}}$};
\end{tikzpicture}
\end{document}
Related Courses, Exams, and Exercises
- Branches infinis Course
- Circuit RLC Course
- Comment tracer des solutions d'inégalités trigonométriques sur des intervalles Course
- diagramme d'algorithme Simplexe Course
- figure 1 Course
- Illustration of Nearest Neighbor Interpolation in a Two-Dimensional Space Course
- Large numbers names Course
- Résoudre une inégalité trigonométriques avec tikz Course
- Scatter Plot with Data From csv File Course
- Triangle De Pascal avec Latex Course
- Venn Diagram Course
- Windows System Architecture Course
Course PDF:
Recent Articles

Quran Search: A Feature rich and modern design
13 Feb 2025
Categories