diff options
author | Karl Berry <karl@freefriends.org> | 2016-08-11 21:43:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-08-11 21:43:18 +0000 |
commit | 331998aa63cb82e63c8b2d1e0152a454d7cd027e (patch) | |
tree | 24d0935e3537ed8201d0c8ff67d1121804a57848 /Master/texmf-dist/tex/generic/pgfplots/pgfplotsstackedplots.code.tex | |
parent | 08ddf2612db3c8882d81fa31045b11c4daba10b1 (diff) |
pgfplots (11aug16)
git-svn-id: svn://tug.org/texlive/trunk@41838 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgfplots/pgfplotsstackedplots.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/pgfplots/pgfplotsstackedplots.code.tex | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/generic/pgfplots/pgfplotsstackedplots.code.tex b/Master/texmf-dist/tex/generic/pgfplots/pgfplotsstackedplots.code.tex index b063bf72a55..7f45bfb5bef 100644 --- a/Master/texmf-dist/tex/generic/pgfplots/pgfplotsstackedplots.code.tex +++ b/Master/texmf-dist/tex/generic/pgfplots/pgfplotsstackedplots.code.tex @@ -268,6 +268,7 @@ \pgfplotsaxisdeserializedatapointfrom@private@backup@{#2}% }% +% #1: the result of \pgfplotsaxisserializedatapointtostring \def\pgfplots@stacked@parsezerolevelpoint#1{% \begingroup \pgfplotsaxisdeserializedatapointfrom#1% no braces here! @@ -366,6 +367,12 @@ \def\pgfplotspointgetnormalizedzerolevelcoordinates{% \begingroup \ifpgfplots@stackedmode + % STATE: + % * \pgfplots@stacked@diff is the diff of the CURRENT point. + % * \pgfplots@stacked@zerolevel is the ENTIRE point of the + % zerolevel (consisting of its recursive zerolevel, its own diff, and its x,y coords) + % -> we need both + \let\pgfplots@stacked@diff@cur=\pgfplots@stacked@diff \ifx\pgfplots@stacked@zerolevel\pgfutil@empty \pgfplotspointgetnormalizedcoordinates% \pgfplotsutilforeachcommasep{x,y,z}\as\pgfplots@loc@TMPa{% @@ -386,7 +393,7 @@ \pgfplotscoordmath{x}{zero}\let\pgfplots@stacked@diff@x=\pgfmathresult% \pgfplotscoordmath{y}{zero}\let\pgfplots@stacked@diff@y=\pgfmathresult% \pgfplotscoordmath{z}{zero}\let\pgfplots@stacked@diff@z=\pgfmathresult% - \pgfutil@namelet{pgfplots@stacked@diff@\pgfplots@stacked@dir}{pgfplots@stacked@diff}% + \pgfutil@namelet{pgfplots@stacked@diff@\pgfplots@stacked@dir}{pgfplots@stacked@diff@cur}% \else % Ah - no stacked plot!? Well, than do "something useful": % ... note that we have to use 'pgfbasic' here as that is the |