컴파일 시 Fillbetween이 표시되지 않음

컴파일 시 Fillbetween이 표시되지 않음

다음은 파일에서 데이터를 읽은 다음 x축 아래 플롯과 x축 자체로 정의된 영역을 채우는 스크립트의 최소 예입니다. 입력 파일은 다음에서 찾을 수 있습니다.

http://expirebox.com/download/0055b781a018392f326c55e6946707ca.html

문제는 컴파일 시 음영을 표시하지 않으며 문제가 있음을 나타내는 오류를 반환하지 않는다는 것입니다. LuaLaTex를 사용하지만 XeLaTex 및 PDFLaTex를 사용해 보았지만 모두 음영이 표시되지 않습니다. 경로를 정의한 방식에 문제가 있습니까? 아니면 데이터 자체에 문제가 있습니까?

\documentclass[preview=true]{standalone}

\usepackage{tikz}
\usepackage{pgfplots}
\usepgfplotslibrary{fillbetween}
\pgfplotsset{compat=1.12}

\begin{document}
\begin{tikzpicture}[baseline]
    \begin{axis} [name=mainplot,clip mode=individual,
        %width=\textwidth,
        axis y line=left,
        y axis line style=<->,
        x axis line style=->,
        xlabel={x},
        ylabel={y},
        xtick align=inside,
        ytick align=inside,
        axis x line=middle,
        xmin=0,
        xmax=8,
        ymax=0.7,
        ytick={-0.1,0,...,0.8},
        ymin=-0.1,
        minor y tick num =3,
        minor x tick num =1,
        restrict x to domain=/pgfplots/xmin:/pgfplots/xmax,
        ]
        \addplot[name path=A,blue,thick] table[x=x,y=w] {input_file.txt};
        \path[name path=B](\pgfkeysvalueof{/pgfplots/xmin},0)--(\pgfkeysvalueof{/pgfplots/xmax},0);

        \addplot fill between[of=A and B,
                            split,
                            every segment no 1/.style=
                            {pattern=north east lines},
                            every segment no 2/.style=
                            {fill=none},
                            ];
    \end{axis}
\end{tikzpicture}
\end{document}

출력은 아래와 같습니다. 목표는 x축 아래 영역을 음영 처리하고 플롯으로 경계를 지정하는 것입니다(예: 0 -> ~3).

미리 감사드립니다.

예티

데이터 파일에서 채우기

관련 정보