diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgfplots/pgfcontrib')
-rw-r--r-- | Master/texmf-dist/tex/generic/pgfplots/pgfcontrib/pgflibraryfillbetween.code.tex | 34 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/pgfplots/pgfcontrib/tikzlibraryfillbetween.code.tex | 20 |
2 files changed, 27 insertions, 27 deletions
diff --git a/Master/texmf-dist/tex/generic/pgfplots/pgfcontrib/pgflibraryfillbetween.code.tex b/Master/texmf-dist/tex/generic/pgfplots/pgfcontrib/pgflibraryfillbetween.code.tex index 2b1eebdcb58..3512d7e3086 100644 --- a/Master/texmf-dist/tex/generic/pgfplots/pgfcontrib/pgflibraryfillbetween.code.tex +++ b/Master/texmf-dist/tex/generic/pgfplots/pgfcontrib/pgflibraryfillbetween.code.tex @@ -10,7 +10,7 @@ \usepgflibrary{intersections} % FIXME : ARCHITECTURE VIOLATION: REQUIRES -% \usetikzlibrary{decorations.softclip} +% \usetikzlibrary{decorations.softclip} % %\usepgfmodule{decorations} @@ -31,7 +31,7 @@ /pgf/fill between/inner moveto/connect, % % split=true allows to generate individual result paths for every - % region induced by the intersection points. Example: + % region induced by the intersection points. Example: % "color positive region in red and negative region in green". % The case split=false results in just one output path % (simpler+faster, but of course less powerful). @@ -225,13 +225,13 @@ % 0. normalize path sequences. % ATTENTION : there are implicit assumptions on the INTERNAL ORDER of the two paths! % This implementation needs to loop over them synchronously, i.e. it processes - % the 0.th segment of a and the 0th of b, - % the 1.th segment of a and the 1th of b, + % the 0.th segment of a and the 0th of b, + % the 1.th segment of a and the 1th of b, % and so on. Here, "i th segment" implies a sort order in ascending x direction. % This is, however, a weakness of \pgfintersectionofpaths - it does not really support this kind of sorting. - % + % % I work around this by restricting the implementation to the "common use-cases", i.e. to two plots of functions which do not intersect themselves (i.e. to "functions" in the original sense). This will probably (almost surely) fail for parametric functions or circles. - % + % \if0\pgfpathfillbetween@reverse@mode % reverse=false % @@ -413,7 +413,7 @@ % Takes a softpath on input, replaces its first moveto by a lineto, % and returns it as softpath. % #1: a macro containing a softpath (i.e. the result of \pgfgetpath) -% +% % On output, \pgfretval contains a modified path. \def\pgfpathreplacefirstmoveto#1{% \ifx#1\pgfutil@empty @@ -440,7 +440,7 @@ }% % example: \pgfsyssoftpath@movetotoken{#2}{#3}\pgfsyssoftpath@linetotoken{#5}{#6}#7\pgf@stop -% example: +% example: % \pgfsyssoftpath@movetotoken{#2}{#3} % \pgfsyssoftpath@curvetosupportatoken{<x>}{<y>} % \pgfsyssoftpath@curvetosupportbtoken{<x>}{<y>} @@ -469,7 +469,7 @@ \edef\pgfretval{% \ifdim #1<#3\space +% - \else + \else \ifdim #1=#3\space \ifdim #2<#4\space +% @@ -717,10 +717,10 @@ % \pgfplotsassertequalstok{\the\pgf@x, \the\pgf@y}{128.05057pt, 14.2278pt}{solution 3} % \pgfpointintersectionsolution{4}% % \pgfplotsassertequalstok{\the\pgf@x, \the\pgf@y}{156.50636pt, 14.2278pt}{solution 4} -% -% +% +% % \pgfcomputeintersectionsegments{1}% -% +% % \message{OUTPUT: \meaning\pgfretval^^J}% % \expandafter\def\csname expected@a@0\endcsname{% % \pgfsyssoftpath@movetotoken {56.90549pt}{0.0pt}% @@ -745,7 +745,7 @@ % \pgfsyssoftpath@movetotoken{156.50636pt}{14.2278pt}% % \pgfsyssoftpath@linetotoken {170.71646pt}{0.0pt}% % } -% % +% % \def\pgfcomputeintersectionsegments#1{% \pgfcomputeintersectionsegments@set@src{#1}% \ifnum\pgfintersectionsolutions=0 % @@ -871,7 +871,7 @@ % Point lerp(float t, Point A, Point B) { % return A*(1-t) + B*t; // + and * overloaded for Points % } -% +% % void split(t, Point P[4], Point L[4], Point R[4]) { % Point P01 = lerp(t, P[0], P[1]); % Point P12 = lerp(t, P[1], P[2]); @@ -883,11 +883,11 @@ % R[0] = Q; % R[1] = P123; R[2] = P23; R[3] = P[3]; % } -%-------------------------------------------------- +%-------------------------------------------------- % INPUT: % #1: a value in the range [0,1] which determines the split point % #2,#3,#4,#5: the points of the curve, each of the form {<x>}{<y>} -% +% % OUTPUT: % \pgfretval@L{{<A>}{<B>}{<C>}{<D>}} % \pgfretval@R{{<A>}{<B>}{<C>}{<D>}} @@ -929,7 +929,7 @@ % % This variants takes a part of a softpath as input: % -% #1: a curveto- a macro containing a softpath of the form +% #1: a curveto- a macro containing a softpath of the form % <x><y>\pgfsyssoftpath@curvetosupportatoken<x><y>\pgfsyssoftpath@curvetosupportbtoken<x><y>\pgfsyssoftpath@curvetotoken<x><y> % #2: t in [0,1] % diff --git a/Master/texmf-dist/tex/generic/pgfplots/pgfcontrib/tikzlibraryfillbetween.code.tex b/Master/texmf-dist/tex/generic/pgfplots/pgfcontrib/tikzlibraryfillbetween.code.tex index 8f60ef1e6b9..d5a153c055b 100644 --- a/Master/texmf-dist/tex/generic/pgfplots/pgfcontrib/tikzlibraryfillbetween.code.tex +++ b/Master/texmf-dist/tex/generic/pgfplots/pgfcontrib/tikzlibraryfillbetween.code.tex @@ -4,7 +4,7 @@ % % Provides a user-friendly interface to create function plots (normal % plots, semi-logplots and double-logplots). -% +% % It is based on Till Tantau's PGF package. % % Copyright 2013 by Christian Feuersaenger @@ -13,12 +13,12 @@ % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. -% +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. -% +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. % @@ -146,7 +146,7 @@ \fi % \expandafter\fill\expandafter[\pgfplots@loc@TMPa] - \pgfextra + \pgfextra \pgfsetpathandBB{\pgflibraryfill@path}% \pgfkeysgetvalue{/tikz/fill between/path after segment}\tikz@fillbetween@post@segment \expandafter @@ -159,7 +159,7 @@ }, /tikz/fill between/.search also={/pgf/fill between,/pgfplots}, /tikz/fill between/optimize name intersections/.is if=tikzfillbetween@optimize@name@intersections, - % + % % FIXME : this optimization needs much more work... I believe it % would be stable enough, but it covers too few cases. %/tikz/fill between/optimize name intersections=true, @@ -170,9 +170,9 @@ % /pgfplots/execute at begin axis@@/.add={% % \def\b@pgfplotslibraryfill@added % }{% - % + % % },% - %-------------------------------------------------- + %-------------------------------------------------- } \def\tikzlibraryfillbetween@parse#1 and #2\pgf@stop{% @@ -190,7 +190,7 @@ \def\tikzfillbetween{\pgfutil@ifnextchar[{\tikzfillbetween@opt}{\tikzfillbetween@opt[]}} \def\tikzfillbetween@opt[#1]#2{% \begingroup - \pgfqkeys{/tikz/fill between}{% + \pgfqkeys{/tikz/fill between}{% % prepare the low-level path generation instruction(s): /tikz/fill between/@draw style={#2},% % @@ -431,7 +431,7 @@ \def\tikz@temp{#2}% \def\tikz@@temp{-}% \ifx\tikz@@temp\tikz@temp - % also accept minus signs without curly braces, i.e. + % also accept minus signs without curly braces, i.e. % L-2 instead of L{-2} \def\tikz@next{\tikz@isect@p@next@{#1}{#2}}% \else @@ -517,7 +517,7 @@ \let\pgfpointlastofsetpath=\pgfutil@empty \else \if1\b@tikz@select@all% - % ok... select the *entire* path. + % ok... select the *entire* path. % #1 = A|B : \expandafter\let\expandafter\pgfretval\csname tikz@path@segments@\tikz@path@ab\endcsname \else |