summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pgfplots/pgfplots.errorbars.code.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-01-08 00:02:17 +0000
committerKarl Berry <karl@freefriends.org>2016-01-08 00:02:17 +0000
commit4e668f51370a93cc9dc26b1a11a949b50493b353 (patch)
tree85ab6891036f9a348e68f83e31c56b069332a9ca /Master/texmf-dist/tex/generic/pgfplots/pgfplots.errorbars.code.tex
parentf2995718d3db02b5ff46d4552b9281b9761327ae (diff)
pgfplots (7jan16)
git-svn-id: svn://tug.org/texlive/trunk@39303 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgfplots/pgfplots.errorbars.code.tex')
-rw-r--r--Master/texmf-dist/tex/generic/pgfplots/pgfplots.errorbars.code.tex11
1 files changed, 10 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/generic/pgfplots/pgfplots.errorbars.code.tex b/Master/texmf-dist/tex/generic/pgfplots/pgfplots.errorbars.code.tex
index 11299b16485..8e2a96a9054 100644
--- a/Master/texmf-dist/tex/generic/pgfplots/pgfplots.errorbars.code.tex
+++ b/Master/texmf-dist/tex/generic/pgfplots/pgfplots.errorbars.code.tex
@@ -568,7 +568,10 @@
\pgfplots@errorbar@draw{##1}{##2}%
}%
}
-
+
+\newif\ifpgfplots@error@bars@allow@name@path
+
+
% This thing here shall draw all error bar commands listed in '#2'.
%
% It will be invoked when any plotting commands take effect (that
@@ -576,6 +579,12 @@
% transformations are set up...)
\def\pgfplots@errorbars@finishwithstyleoptions[#1]#2{%
\scope[/pgfplots/.cd,#1,/pgfplots/every error bar]% it uses the /pgfplots/.unknown handler
+ \ifpgfplots@error@bars@allow@name@path
+ \else
+ % 'name path=xxx' should NOT include errors bars! Only the
+ % main path.
+ \def\tikz@intersect@addto@path@names##1##2{}%
+ \fi
#2%
\endscope
}