# Problem with fill between when using tikzpicture

Related to this question, my code:

\begin{tikzpicture}
\begin{axis}

[domain=0:12, samples=100,grid=major,
domain=1:4, xlabel=$\lambda$, ylabel=$f$, legend pos=north west, no marks]

\legend{$f_1$, $f_2$}
\end{axis}
\end{tikzpicture}


gave:

on one computer but fails on another one giving the message:

I can't find 'usepgfplotslibrarypgfplot.fillbetween.code.tex'.


I reinstalled Lyx and Texlive in the second computer but it returns the same.

What is happening?

Thank you.

PS: My preamble is:

\usepackage{pgfplots}
\usetikzlibrary{positioning}

• Welcome to TeX.SX! Please make your code compilable (if possible), or at least complete it with \documentclass{...}, the required \usepackage's, \begin{document}, and \end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – Stefan Pinnow Feb 18 at 10:54
• Without a full MWE my guess is, that you haven't written \usepgfplotslibrary{fillbetween} but somewhere a typo ... – Stefan Pinnow Feb 18 at 10:55