\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\pgfplotsset{compat=1.14}
\colorlet{bleuturquoise}{cyan}
\usepackage{siunitx}
\usepackage{filecontents}
\begin{filecontents*}{test.txt}
1 2
10 4
100 2
1000 1
\end{filecontents*}
\DeclareRobustCommand{\CourbeRD}{(\tikz[baseline=-\the\dimexpr\fontdimen22\textfont2\relax,inner sep=0pt] \draw[red,line width=0.5pt](0,0) -- (5mm,0);)}
\DeclareRobustCommand{\CourbePL}{(\tikz[baseline=-\the\dimexpr\fontdimen22\textfont2\relax,inner sep=0pt] \draw[purple,line width=0.5pt](0,0) -- (5mm,0);)}
\DeclareRobustCommand{\CourbeBU}{(\tikz[baseline=-\the\dimexpr\fontdimen22\textfont2\relax,inner sep=0pt] \draw[blue,line width=0.5pt](0,0) -- (5mm,0);)}
\DeclareRobustCommand{\CourbeBL}{(\tikz[baseline=-\the\dimexpr\fontdimen22\textfont2\relax,inner sep=0pt] \draw[black,line width=0.5pt](0,0) -- (5mm,0);)}
\DeclareRobustCommand{\CourbeBT}{(\tikz[baseline=-\the\dimexpr\fontdimen22\textfont2\relax,inner sep=0pt] \draw[bleuturquoise,line width=0.5pt](0,0) -- (5mm,0);)}
\begin{document}
\begin{figure}[ht]
\centering
\begin{tikzpicture}
\begin{axis}[
xlabel={taille (nm)},
xmode=log,
ylabel={intensité (u.a.)},
ymax=30,
y tick label style={rotate=90,anchor=south},
mark size=0.5pt,
enlargelimits=false,
width=1\textwidth,
]
\addplot [red,thick,smooth] table {test.txt};
\addplot [purple,thick,smooth] table[x index = 0, y expr={\thisrowno{1} + 6}] {test.txt};
\addplot [blue,thick,smooth] table[x index = 0, y expr={\thisrowno{1} + 12}] {test.txt};
\addplot [bleuturquoise,thick,smooth] table[x index = 0, y expr={\thisrowno{1} + 18}] {test.txt};