From 22cbaf8cd711b82b3fe4b387a7e72b58409ecdbd Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sun, 12 May 2019 20:23:02 +0000
Subject: pgf

git-svn-id: svn://tug.org/texlive/trunk@51107 c570f23f-e606-0410-a88d-b1316a301751
---
 .../tex/generic/pgf/modules/pgfmoduleplot.code.tex | 106 ++++++++++-----------
 1 file changed, 53 insertions(+), 53 deletions(-)

(limited to 'Master/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.tex')

diff --git a/Master/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.tex b/Master/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.tex
index 6c548160b26..1a553f925c1 100644
--- a/Master/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.tex
+++ b/Master/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.tex
@@ -39,12 +39,12 @@
 % default. Rather, to ``use'' such a stream, you must first install a
 % stream handler. For example, the ``lineto'' handler will simply
 % basically every \pgfplotstreampoint into a \pgfpathlineto.
-% 
+%
 % One special things is the handling of "jumps" in a stream. For
 % instance, when a lineto handler encounters an "outlier" or a new
 % data set, the current line should end and a new subpath should start
 % (unless configured otherwise). For this, the special jump handler is
-% important. 
+% important.
 %
 % Example:
 %
@@ -62,17 +62,17 @@
 
 % The stream commands actually call their ``internal'' versions, which
 % are set by the handlers:
-\def\pgfplotstreamstart{\pgf@plotstreamstart}
-\def\pgfplotstreampoint#1{\gdef\pgfplotlastpoint{#1}\pgf@plotstreampoint{#1}}
-\def\pgfplotstreampointoutlier#1{\pgfplot@outliers{}{\pgf@plotstreamjump}{\pgfplotstreampoint{#1}}}%  
-\def\pgfplotstreampointundefined{\pgfplot@outliers{}{\pgf@plotstreamjump}{}}%  
-\def\pgfplotstreamnewdataset{\pgfplot@outliers{}{\pgf@plotstreamjump}{}}%  
-\def\pgfplotstreamspecial{\pgf@plotstreamspecial}
-\def\pgfplotstreamend{\pgf@plotstreamend}
-
-\def\pgfplot@ignorer#1#2#3{#1}
-\def\pgfplot@jumper#1#2#3{#2}
-\def\pgfplot@plotter#1#2#3{#3}
+\def\pgfplotstreamstart{\pgf@plotstreamstart}%
+\def\pgfplotstreampoint#1{\gdef\pgfplotlastpoint{#1}\pgf@plotstreampoint{#1}}%
+\def\pgfplotstreampointoutlier#1{\pgfplot@outliers{}{\pgf@plotstreamjump}{\pgfplotstreampoint{#1}}}%
+\def\pgfplotstreampointundefined{\pgfplot@outliers{}{\pgf@plotstreamjump}{}}%
+\def\pgfplotstreamnewdataset{\pgfplot@outliers{}{\pgf@plotstreamjump}{}}%
+\def\pgfplotstreamspecial{\pgf@plotstreamspecial}%
+\def\pgfplotstreamend{\pgf@plotstreamend}%
+
+\def\pgfplot@ignorer#1#2#3{#1}%
+\def\pgfplot@jumper#1#2#3{#2}%
+\def\pgfplot@plotter#1#2#3{#3}%
 
 \let\pgfplot@outliers\pgfplot@jumper
 \let\pgfplot@undefined\pgfplot@jumper
@@ -89,7 +89,7 @@
   handle new data sets in plots/.is choice,
   handle new data sets in plots/ignore/.code=\let\pgfplot@newdata\pgfplot@ignorer,
   handle new data sets in plots/jump/.code=\let\pgfplot@newdata\pgfplot@jumper,
-}
+}%
 
 
 % Declares a new plot handler
@@ -99,11 +99,11 @@
 % #3 = keys as described below
 %
 % Description:
-% 
+%
 % When you declare a new plot handler, you provide, through keys,
 % different "actions" that should be taken when the different stream
 % commands are used:
-% 
+%
 % start       = some code to be executed when \pgfplotstreamstart is called
 %               for this plothandler
 % end         = same for the end of the stream
@@ -118,7 +118,7 @@
 % special macro = see above
 %
 % Example:
-% 
+%
 % \pgfdeclareplothandler{\ultrasimplehandler}{}{
 %   point=\pgfpathlineto{##1}
 % }
@@ -135,7 +135,7 @@
       #3%
     }%
   }%
-}
+}%
 
 \pgfkeys{%
   /pgf/plots/@handler options/.cd,
@@ -165,7 +165,7 @@
   jump macro/.code=\global\let\pgf@plotstreamjump@init#1,
   special/.code=\gdef\pgf@plotstreamspecial@init##1{#1},
   special macro/.code=\global\let\pgf@plotstreamspecial@init#1,
-}
+}%
 
 \newif\ifpgf@plot@started
 
@@ -178,13 +178,13 @@
 %
 % For certain handlers it makes sense either the start a plot by
 % moving to the first point of the plot or to do a lineto to that
-% first point. Using this command this action can be set to a lineto. 
+% first point. Using this command this action can be set to a lineto.
 %
 % Example:
 %
 % \pgfsetlinetofirstplotpoint
 
-\def\pgfsetlinetofirstplotpoint{\let\pgf@plot@first@action=\pgfpathlineto}
+\def\pgfsetlinetofirstplotpoint{\let\pgf@plot@first@action=\pgfpathlineto}%
 
 
 % Sets the action taken for the first point of a plot to a moveto.
@@ -193,7 +193,7 @@
 %
 % \pgfsetmovetofirstplotpoint
 
-\def\pgfsetmovetofirstplotpoint{\let\pgf@plot@first@action=\pgfpathmoveto}
+\def\pgfsetmovetofirstplotpoint{\let\pgf@plot@first@action=\pgfpathmoveto}%
 
 \let\pgf@plot@first@action=\pgfpathmoveto
 
@@ -208,7 +208,7 @@
 % This handler converts each plot stream command into a lineto
 % command, except for the first, which is converted to the action that
 % has previously been specified using \pgfsetlinetofirstplotpoint or
-% \pgfsetmovetofirstplotpoint. 
+% \pgfsetmovetofirstplotpoint.
 %
 % Example:
 %
@@ -218,17 +218,17 @@
 \pgfdeclareplothandler{\pgfplothandlerlineto}{}{
   point macro=\pgf@plot@line@handler,
   jump=\global\let\pgf@plotstreampoint\pgf@plot@line@handler@move%
-}
+}%
 
 \def\pgf@plot@line@handler#1{%
   \pgf@plot@first@action{#1}%
   \global\let\pgf@plotstreampoint=\pgfpathlineto%
-}
+}%
 
 \def\pgf@plot@line@handler@move#1{%
   \pgfpathmoveto{#1}%
   \global\let\pgf@plotstreampoint=\pgfpathlineto%
-}
+}%
 
 
 
@@ -252,21 +252,21 @@
   \pgfpathmoveto{#1}%
   \global\pgf@plot@startedtrue%
   \global\let\pgf@plotstreampoint=\pgfpathlineto%
-}
+}%
 
 \def\pgf@plot@polygon@stop{%
   \ifpgf@plot@started%
     \pgfpathclose%
   \fi%
   \global\pgf@plot@startedfalse%
-}
+}%
 
 \def\pgf@plot@next@close@and@moveto{%
   \ifpgf@plot@started%
     \pgfpathclose%
   \fi%
   \global\let\pgf@plotstreampoint\pgf@plot@line@handler@close%
-}
+}%
 
 
 % More handlers are defined in pgflibraryplothandlers
@@ -282,13 +282,13 @@
 % \pgfplothandlerdiscard
 % \pgfplotxyfile{mytable}
 
-\pgfdeclareplothandler{\pgfplothandlerdiscard}{}{}
+\pgfdeclareplothandler{\pgfplothandlerdiscard}{}{}%
 
 
 
 % This handler records each plot stream command to a macro. This is
 % useful if plot commands are difficult to generate and need to be
-% ``recylced'' later on.
+% ``recycled'' later on.
 %
 % Example:
 %
@@ -305,7 +305,7 @@
   jump=\expandafter\gdef\expandafter#1\expandafter{#1\pgf@plotstreamjump},
   special=\expandafter\gdef\expandafter#1\expandafter{#1\pgfplotstreamspecial{##1}},
   end=\expandafter\gdef\expandafter#1\expandafter{#1\pgfplotstreamend},
-}
+}%
 
 
 
@@ -338,12 +338,12 @@
       \catcode`\^^M=5
       \pgf@readxyfile%
     \fi
-    \pgfplotstreamend%    
+    \pgfplotstreamend%
   \endgroup%
-}
+}%
 
-\let\pgf@savedpar=\par%
-\def\pgf@partext{\par}
+\let\pgf@savedpar=\par
+\def\pgf@partext{\par}%
 \def\pgf@readxyfile{%
   \pgfutil@read\r@pgf@reada to \pgf@temp%
   \let\par=\pgf@savedpar%
@@ -362,7 +362,7 @@
     \expandafter\pgf@parsexyline\pgf@temp\pgf@stop%
   \fi\fi%
   \ifeof\r@pgf@reada\else\expandafter\pgf@readxyfile\fi%
-}
+}%
 
 \def\pgf@parsexyline#1 #2 #3\pgf@stop{%
   \def\b@pgfplotsxyfile@scanning@for@first{0}%
@@ -374,7 +374,7 @@
   \else%
     \pgfplotstreampoint{\pgfpointxy{#1}{#2}}%
   \fi\fi%
-}
+}%
 
 \edef\pgf@xyline@flag@out{o\space}%
 \edef\pgf@xyline@flag@undef{u\space}%
@@ -389,7 +389,7 @@
 % File format:
 %
 % Like xy, except that each line contains three numbers, which are
-% converted to xyz coordiantes.
+% converted to xyz coordinates.
 %
 % Example:
 %
@@ -406,9 +406,9 @@
       \catcode`\^^M=5
       \pgf@readxyzfile%
     \fi
-    \pgfplotstreamend%    
+    \pgfplotstreamend%
   \endgroup%
-}
+}%
 
 \def\pgf@readxyzfile{%
   \pgfutil@read\r@pgf@reada to \pgf@temp%
@@ -426,7 +426,7 @@
     \expandafter\pgf@parsexyzline\pgf@temp\pgf@stop%
   \fi\fi%
   \ifeof\r@pgf@reada\else\expandafter\pgf@readxyzfile\fi%
-}
+}%
 
 \def\pgf@parsexyzline#1 #2 #3 #4\pgf@stop{%
   \def\b@pgfplotsxyfile@scanning@for@first{0}%
@@ -438,7 +438,7 @@
   \else%
     \pgfplotstreampoint{\pgfpointxyz{#1}{#2}{#3}}%
   \fi\fi%
-}
+}%
 
 
 
@@ -461,19 +461,19 @@
 % \pgfplothandlerlineto
 % \pgfplotgnuplot[\jobname]{plot [x=0:5] x*sin(x)}
 
-{
+{%
   \catcode`\%=12
   \catcode`\"=12
   \xdef\pgf@gnuplot@head{set table \noexpand\pgf@plottablefile@quoted; set format "%.5f"}
-}
+}%
 
 \let\pgf@plotwrite=\w@pgf@writea
 \newif\ifpgf@resample@plot
 
 \pgfkeys{%
-  /pgf/plot/gnuplot call/.initial={gnuplot}}
+  /pgf/plot/gnuplot call/.initial={gnuplot}}%
 
-\def\pgfplotgnuplot{\pgfutil@ifnextchar[{\pgf@plotgnuplot}{\pgf@plotgnuplot[\jobname]}}%}
+\def\pgfplotgnuplot{\pgfutil@ifnextchar[{\pgf@plotgnuplot}{\pgf@plotgnuplot[\jobname]}}%}%
 \def\pgf@plotgnuplot[#1]#2{%
   \pgf@resample@plottrue%
   \pgfutilpreparefilename{#1.gnuplot}%
@@ -487,18 +487,18 @@
   \else%
     \pgfutil@read\pgfutil@inputcheck to\pgf@temp% ignored
     \pgfutil@read\pgfutil@inputcheck to\pgf@plot@line%
-	\closein\pgfutil@inputcheck
+    \closein\pgfutil@inputcheck
     \edef\pgf@plot@code{#2\space}%
     \ifx\pgf@plot@code\pgf@plot@line%
       \openin\pgfutil@inputcheck=\pgfretval\relax
       \ifeof\pgfutil@inputcheck%
       \else%
-	    \closein\pgfutil@inputcheck
+        \closein\pgfutil@inputcheck
         \pgf@resample@plotfalse%
       \fi%
     \fi%
   \fi
-  \ifpgf@resample@plot%  
+  \ifpgf@resample@plot%
     \immediate\openout\pgf@plotwrite=\pgf@plotgnuplotfile\relax
     \immediate\pgfutil@write\pgf@plotwrite{\pgf@gnuplot@head}%
     \immediate\pgfutil@write\pgf@plotwrite{#2}%
@@ -510,7 +510,7 @@
 %  \let\pgf@parsexyline=\pgf@parsegnuplotxyline%
   \pgfplotxyfile{\pgf@plottablefile}%
 %  \let\pgf@parsexyline=\pgf@savedparsexyline%
-}
+}%
 
 % \def\pgf@parsegnuplotxyline#1 #2 #3\pgf@stop{%
 %   \edef\pgf@xyline@flag@val{#3}%
@@ -523,7 +523,7 @@
 %   \else%
 %     \pgfplotstreampoint{\pgfpointxy{#1}{#2}}%
 %   \fi\fi%
-% }
+% }%
 
 % This producer handler plots a function using pgf's mathematical engine.
 %
@@ -553,7 +553,7 @@
     \pgf@marshal%
   }
   \pgfplotstreamend%
-}
+}%
 
 
 
-- 
cgit v1.2.3

