# amplitude against frequency graph of a mass spring system

I have seen marmot drawing four graphs like this but I have not learnt his. Can you help me?

• Please show us what you have tried so far. – Andrew Swann Jan 11 at 7:41

Here is another possibility which you may find more intuitive: group plots.

\documentclass[tikz,border=3.14mm]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16}
\usepgfplotslibrary{groupplots}
\begin{document}
\begin{tikzpicture}[font=\sffamily,declare function={%
gauss(\x,\y,\z)=1/(2*\z*sqrt(pi))*exp(-(\x-\y)^2/(2*\z^2));}]
\begin{groupplot}[group style={group size=2 by 2, vertical sep=1.6cm},
height=6cm,width=6cm,
domain=0.2:5.5,samples=51,ymin=0,ymax=1,xmin=0,xmax=6,
xlabel=frequency,ylabel=amplitude,
axis lines=left,xtick=\empty,ytick=\empty]
\nextgroupplot[title=A]
{0.1+1.6*gauss(x,2.8,0.7)};
\nextgroupplot[title=B]