Problem with a path between pgf 2.1 and pgf 3.0 [closed]

\documentclass{standalone}
\usepackage{tikz}
\begin{document}

\begin{tikzpicture}[domain=0:2]
\path[fill=blue]  (0,0) -- plot function{x+1} -- (2,0);
\end{tikzpicture}
\begin{tikzpicture}[domain=0:2]
\path[fill=blue]  plot function{x+1} -- (2,0)-- (0,0);
\end{tikzpicture}

\end{document}


With pgf 2.1 the two pictures are identical but with pgf 3.0 I get

-

closed as off-topic by Paul Gaborit, Adam Liter, Jubobs, Werner, dustinMay 28 '14 at 19:10

• This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

No problem with an internal plot (plot(\x,{\x+1}))... – Paul Gaborit Mar 12 '14 at 13:08
@PaulGaborit Yes but it's not an explanation of my problem ! – Alain Matthes Mar 13 '14 at 15:12
IMHO, it is a bug in TikZ 3.0 with external gnuplot function plot. – Paul Gaborit Mar 13 '14 at 17:06
I created a ticket for this bug. So, I vote to close this question... – Paul Gaborit May 28 '14 at 18:29
This question appears to be off-topic because it is about a bug in PGF/TikZ v3.0.0. – Paul Gaborit May 28 '14 at 18:30