Debian Codegraph @

texmf-dist/tex/generic/pgfplots/pgfplotscore.code.tex

raw
1 %--------------------------------------------
2 %
3 % Package pgfplots
4 %
5 % Provides a user-friendly interface to create function plots (normal
6 % plots, semi-logplots and double-logplots).
7 %
8 % It is based on Till Tantau's PGF package.
9 %
10 % Copyright 2007-2014 by Christian Feuersänger.
11 %
12 % This program is free software: you can redistribute it and/or modify
13 % it under the terms of the GNU General Public License as published by
14 % the Free Software Foundation, either version 3 of the License, or
15 % (at your option) any later version.
16 %
17 % This program is distributed in the hope that it will be useful,
18 % but WITHOUT ANY WARRANTY; without even the implied warranty of
19 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 % GNU General Public License for more details.
21 %
22 % You should have received a copy of the GNU General Public License
23 % along with this program. If not, see <http://www.gnu.org/licenses/>.
24 %
25 %--------------------------------------------
26
27 \def\pgfplotsset#{\pgfqkeys{/pgfplots}}
28
29 % This is *identical* to \pgfutil@IfUndefined . I copied it here
30 % because pgf up to and including version 2.10 does not contain it.
31 \def\pgfplotsutil@IfUndefined#1{%
32 \begingroup\expandafter\expandafter\expandafter\endgroup
33 \expandafter\ifx\csname#1\endcsname\relax
34 \expandafter\pgfutil@firstoftwo
35 \else
36 \expandafter\pgfutil@secondoftwo
37 \fi
38 }
39 \pgfplotsutil@IfUndefined{pgfutil@IfUndefined}{\let\pgfutil@IfUndefined=\pgfplotsutil@IfUndefined}{}
40
41 \def\pgfplotsloglevel{4}%
42
43 \def\pgfplots@log#1#2{%
44 \ifnum#1>\pgfplotsloglevel\relax
45 \else
46 \ifnum\inputlineno=1
47 \pgfutil@IfUndefined{@currenvline}{%
48 \def\pgfplots@log@tmp{}%
49 }{%
50 \let\pgfplots@log@tmp=\@currenvline
51 }%
52 \else
53 \def\pgfplots@log@tmp{ on input line \the\inputlineno}%
54 \fi
55 \immediate\write-1{Package pgfplots info\pgfplots@log@tmp: #2}%
56 \fi
57 }%
58
59 \newif\ifpgfplots@LUA@supported
60 \pgfkeys{
61 /pgfplots/lua support/.is choice,
62 /pgfplots/lua support/true/.code={\pgfplots@LUA@supportedtrue},%
63 /pgfplots/lua support/false/.code={\pgfplots@LUA@supportedfalse},%
64 /pgfplots/lua support/auto/.code={%
65 \pgfutil@IfUndefined{directlua}{%
66 \pgfplots@LUA@supportedfalse
67 }{%
68 \pgfplots@LUA@supportedtrue
69 }%
70 },%
71 /pgfplots/lua support/auto,% this is the default anyway
72 }
73
74 % this is an emergency key which allows to switch off LUA support in
75 % pgfplots early at boot time.
76 %
77 % use \def\pgfplotsenablelua{0} to switch it off. '1' switches it on
78 % (or uncommenting the line).
79 \pgfutil@IfUndefined{pgfplotsenablelua}{}{%
80 \ifpgfplots@LUA@supported
81 \def\pgfplots@glob@TMPc{1}%
82 \ifx\pgfplots@glob@TMPc\pgfplotsenablelua
83 \message{Pgfplots: found emergency control flag \string\pgfplotsenablelua=1. Keeping LUA active.^^J}%
84 \else
85 \message{Pgfplots: found emergency control flag \string\pgfplotsenablelua!=1. Disabling LUA support.^^J}%
86 \pgfplots@LUA@supportedfalse
87 \fi
88 \fi
89 }%
90
91 \def\pgfplots@alloc@catcodetable{%
92 % it is task of the TeX format to load this.
93 % context comes with it out-of-the box, and pgfplots.sty loads luatexbase.sty
94 \pgfutil@IfUndefined{newcatcodetable}{%
95 % Oh. The TeX format does not have support for
96 % \newcatcodetable and the associated pgfplots module did not
97 % load an addon-package!?
98 %
99 % We _need_ the catcodes which are active when pgfplots starts.
100 % And there is no central mechanism to allocate catcodes. I will
101 % take one for me now and hope that it will not be used (soon).
102 \def\pgfplotsglobalretval{41}%
103 }{%
104 % the macro \pgfplots@luabackend@table is never used by TeX
105 % code.
106 % I only need the value inside of the .lua files: whenever
107 % they print something, they need to use it.
108 \newcatcodetable\pgfplots@luabackend@table
109 \let\pgfplotsglobalretval=\pgfplots@luabackend@table
110 }%
111 }%
112
113 \ifpgfplots@LUA@supported
114 \let\pgfplotsutil@directlua=\directlua
115 \let\pgfplotsutil@directlua@std=\pgfplotsutil@directlua
116 \pgfplotsutil@directlua{
117 tex.enableprimitives("pgfplotsutil@",{ "savecatcodetable", "luaescapestring"})}%
118 \def\pgfplotsutil@directlua@trace#1{%
119 \directlua{%
120 texio.write_nl("CALLING\string\n\pgfplotsutil@luaescapestring{#1}");
121 #1%
122 }%
123 }%
124 \pgfplots@log3{Initializing with LUA version \pgfplotsutil@directlua{tex.print(_VERSION)}}%
125 % attention: this can set 'lua support=false' as a side-effect:
126 \pgfplotsutil@directlua{require("pgfplots"); pgfplots.pgfplotsversion = "\pgfplotsversion";}%
127 %
128 \pgfplots@alloc@catcodetable
129 \c@pgf@counta=\pgfplotsglobalretval
130 \pgfplotsutil@savecatcodetable\c@pgf@counta
131 \pgfplotsutil@directlua{pgfplots.LOAD_TIME_CATCODETABLE = \the\c@pgf@counta}%
132 \fi
133
134
135 \def\pgfplots@error#1{\PackageError{pgfplots}{#1}{}}%
136 \def\pgfplotstable@error@pkg#1{\PackageError{pgfplotstable}{#1}{}}%
137 % DO NOT USE THIS METHOD DIRECTLY: use \pgfplotswarning{<warning name>}<args>\pgfeov
138 \pgfplotsutil@IfUndefined{PackageWarning}{%
139 \def\pgfplots@warning#1{\pgfplots@message{! Package pgfplots Warning:
140 #1}}%
141 }{%
142 \def\pgfplots@warning#1{\PackageWarning{pgfplots}{#1}{}}%
143 }%
144
145 \def\pgfplots@message#1{%
146 \immediate\write16{#1}%
147 }%
148
149 \pgfutil@IfUndefined{pgfkeys}{%
150 \pgfplots@error{It seems your version of PGF/Tikz is older than 2.00. Unfortunately, pgfplots requires at least version 2.00 ... you may need to update your TeX-Distribution or install PGF manually, sorry}%
151 }{\relax}
152
153 % Throws exception `#1' with arguments `#2'.
154 %
155 % #1 : the exception name
156 % #2: all what comes after the exception name is considered to be argument
157 % (or arguments) for the exception '#1'.
158 % the \pgfeov is IMPORTANT as it delimits the argument.
159 %
160 % Note that all standard pgfplots exceptions provide a feature to
161 % exchange the error message text: define \pgfplotsexceptionmsg
162 % set a replacement.
163 \def\pgfplotsthrow#1#2\pgfeov{%
164 \def\pgfkeyscurrentkey{/pgfplots/exception/#1}%
165 \pgfkeysvalueof{/pgfplots/exception/#1/.@cmd}#2\pgfeov
166 }%
167 \let\pgfplotsthrow@orig=\pgfplotsthrow
168
169 % Generates warning `#1' with argument(s) `#2'.
170 %
171 % It works in exactly the same way as \pgfplotsthrow.
172 \def\pgfplotswarning#1#2\pgfeov{%
173 \def\pgfkeyscurrentkey{/pgfplots/warning/#1}%
174 \pgfkeysvalueof{/pgfplots/warning/#1/.@cmd}#2\pgfeov
175 }%
176
177 \def\pgfplotsthrow@warning#1{%
178 \pgfplots@warning{#1}%
179 \immediate\write-1{ [warning \pgfkeyscurrentkey]}%
180 }%
181
182 \def\pgfplots@assert@not@zero#1#2{%
183 \ifdim#1=0sp %
184 \pgfplotsthrow{invalid argument}{\pgfplots@loc@TMPa}{#2}\pgfeov
185 \fi
186 }%
187
188 % A primitive try #1 catch #2 end block.
189 %
190 % It tries code #1. If any exception occurs within, it suppresses the
191 % exception and tries to continue. It then invokes #2 as soon as it
192 % can.
193 %
194 % You can use \pgfplotsrethrow in #2.
195 %
196 % ATTENTION: this is a simple attempt to simulate error control. Don't
197 % rely on it too heavily! In the moment, I am not even sure if it can
198 % be nested (perhaps you need to introduce extra scopes since
199 % \pgfplotstry doesn't).
200 \long\def\pgfplotstry#1\catch#2\endpgfplotstry{%
201 \global\let\pgfplotstry@exception\pgfutil@empty
202 \def\pgfplotsthrow##1##2\pgfeov{\gdef\pgfplotstry@exception{{##1}{##2}}}%
203 #1\relax%
204 \let\pgfplotsthrow=\pgfplotsthrow@orig
205 \ifx\pgfplotstry@exception\pgfutil@empty
206 \else
207 #2%
208 \fi
209 \global\let\pgfplotstry@exception\pgfutil@empty
210 }%
211 \def\pgfplotsrethrow{\expandafter\pgfplotsthrow\pgfplotstry@exception\pgfeov}%
212
213 \pgfkeys{
214 % #1: the argument which should have been assigned.
215 % #2: an error message.
216 /pgfplots/exception/invalid argument/.code 2 args={%
217 \ifx\pgfplotsexceptionmsg\relax
218 \pgfplots@error{#2}%
219 \else
220 \pgfplots@error{\pgfplotsexceptionmsg}%
221 \fi
222 \let#1=\pgfutil@empty
223 },%
224 % #1 : the layer name
225 % #2 : additional context information (message)
226 /pgfplots/exception/inactive layer/.code 2 args={%
227 \ifx\pgfplotsexceptionmsg\relax
228 \pgfplots@error{Sorry, the layer '#1' has not been activated but it is referenced in #2. Perhaps you misspelled it? Each referenced layer must be activated (expect for layer 'discard').}%
229 \else
230 \pgfplots@error{\pgfplotsexceptionmsg}%
231 \fi
232 },%
233 % #1: the argument which should have been assigned.
234 % #2: an error message.
235 /pgfplots/exception/no such element/.code 2 args={%
236 \ifx\pgfplotsexceptionmsg\relax
237 \pgfplots@error{#2}%
238 \else
239 \pgfplots@error{\pgfplotsexceptionmsg}%
240 \fi
241 \let#1=\pgfutil@empty
242 },%
243 /pgfplots/exception/invalid color component/.code 2 args={%
244 \ifx\pgfplotsexceptionmsg\relax
245 \pgfplots@error{#2}%
246 \else
247 \pgfplots@error{\pgfplotsexceptionmsg}%
248 \fi
249 \let#1=\pgfutil@empty
250 },%
251 /pgfplots/exception/cycle list instantiation needed/.code={%
252 \ifx\pgfplotsexceptionmsg\relax
253 \pgfplots@error{Please invoke \string\pgfplotsset{cycle list/#1} before using cycle list '#1'}%
254 \else
255 \pgfplots@error{\pgfplotsexceptionmsg}%
256 \fi
257 },%
258 % #1: an error message
259 /pgfplots/exception/unsupported operation/.code={%
260 \ifx\pgfplotsexceptionmsg\relax
261 \pgfplots@error{#1}%
262 \else
263 \pgfplots@error{\pgfplotsexceptionmsg}%
264 \fi
265 },%
266 % #1: the argument which should have been assigned.
267 % #2: the file name
268 % #3: the error message
269 /pgfplots/exception/no such table file/.code args={#1#2#3}{%
270 \ifx\pgfplotsexceptionmsg\relax
271 \pgfplots@error{#3}%
272 \else
273 \pgfplots@error{\pgfplotsexceptionmsg}%
274 \fi
275 \let#1=\relax
276 },
277 /pgfplots/exception/too few colormap positions/.code args={#1#2}{%
278 \ifx\pgfplotsexceptionmsg\relax
279 \pgfplots@error{#2}%
280 \else
281 \pgfplots@error{\pgfplotsexceptionmsg}%
282 \fi
283 \let#1=\relax
284 },
285 /pgfplots/exception/dimension too small in ticks/.code args={#1}{%
286 \ifx\pgfplotsexceptionmsg\relax
287 \pgfplots@error{The argument(s) for #1tick resulted in a tick distance which is too small. Please reconfigure the xtick argument(s)}%
288 \else
289 \pgfplots@error{\pgfplotsexceptionmsg}%
290 \fi
291 },
292 %
293 %
294 %
295 %
296 % Generated if you say 'ymin=0' in a log axis.
297 % #1: the user argument ('ymin')
298 % #2: the offending value.
299 /pgfplots/warning/illegal user argument in log axis/.code args={#1#2}{%
300 \pgfplotsthrow@warning{Ignoring illegal input argument #1=#2: cannot apply log.}%
301 },
302 /pgfplots/warning/too many colormap positions/.code={%
303 \pgfplotsthrow@warning{the colormap has too many positions; ignoring position #1}%
304 },
305 /pgfplots/warning/plot without coordinates/.code={%
306 \pgfplotsthrow@warning{the current plot has no coordinates (or all have been filtered away)}%
307 },
308 /pgfplots/warning/log basis required/.code 2 args={%
309 \pgfplotsthrow@warning{Some input argument (#2) explicitly relies on the log basis of #1 (which is e). Please verify that this is intended and set 'log basis #1=10' otherwise. This warning will be shown only once per document.}%
310 },
311 /pgfplots/warning/no such legend to name/.code={%
312 \pgfplotsthrow@warning{There is no `legend to name=#1', sorry. I am skipping it}%
313 },
314 /pgfplots/warning/no such colorbar to name/.code={%
315 \pgfplotsthrow@warning{There is no `colorbar to name=#1', sorry. I am skipping it}%
316 },
317 /pgfplots/warning/no such addplot label/.code={%
318 \pgfplotsthrow@warning{There is no \string\addplot\space label `#1', sorry. I am skipping it}%
319 },
320 /pgfplots/warning/missing near ticklabel at/.code={%
321 \pgfplotsthrow@warning{The anchor 'near ticklabel' cannot be computed correctly because the position is missing. Please add 'near ticklabel at=coordinate' with a suitable coordinate}%
322 },
323 /pgfplots/warning/enlargelimits respects figure size failed/.code={%
324 \pgfplotsthrow@warning{enlargelimits respects figure size=true: could not respect the prescribed width/height (\pgfplotsretval). The size and/or aspect ratio of your image will be different than expected. You can try to modify BOTH width and height.}%
325 },
326 % #1: the axis
327 /pgfplots/warning/empty range cleared axis/.code={%
328 \pgfplotsthrow@warning{You have an axis with empty range (in direction #1). Replacing it with a default range and clearing all plots.}%
329 },
330 /pgfplots/warning/approx empty range enlarged/.code args={#1#2#3}{%
331 \pgfplotsthrow@warning{Axis range for axis #1 is approximately empty; enlarging it (it is [#2:#3])}%
332 },
333 /pgfplots/warning/dimension too large in ticks/.code args={#1#2#3}{%
334 \pgfplotsthrow@warning{The argument for #1tick distance=#2 was capped to #3 in order to avoid 'dimension too large'}%
335 },
336 /pgfplots/warning/lossy colormap rgb conversion/.code 2 args={%
337 \pgfplotsthrow@warning{I am about to convert colormap '#1' from #2\space to rgb (which might be lossy). Perhaps the choice 'colorbar sampled={surf,shader=interp}' yields better results since it supports #2.}%
338 },
339 /pgfplots/warning/cycle list size limit reached/.code={%
340 \pgfplotsthrow@warning{Reached /pgfplots/@cycle/max size=\pgfkeysvalueof{/pgfplots/@cycle/max size}. Omitting all following entries.}%
341 },
342 /pgfplots/warning/colorbar uninitialised/.code={%
343 \pgfplotsthrow@warning{Sorry, the colorbar is uninitialised - your axis has no color data. Consider using 'point meta=f(x)' or something like that. I am using a color range of [0,1] for the colorbar.}%
344 },
345 /pgfplots/warning/colorbar CMYK unsupported/.code={%
346 \pgfplotsthrow@warning{colorbar remark: The colormap '#1' has a CMYK colorspace which is not (yet) supported by PGF. I switched colorbar styles automatically to the visually equivalent 'colorbar sampled={surf,shader=interp}' to generate a proper CMYK colorbar. This has less support in some previewers. Use \string\pgfplotscolorbarCMYKworkaroundfalse\space to disable this improvement. [This message won't be replicated for '#1']}%
347 },
348 /pgfplots/warning/ticklabel anchor undetermined/.code args={#1#2#3#4}{%
349 \pgfplotsthrow@warning{the ticklabel anchor cannot be determined, the normal vector -(#2) and the unit #1 vector (#3) are almost parallel (abs(cos(angle)) = #4)!}%
350 },
351 /pgfplots/warning/point meta unbounded/.code 2 args={%
352 \pgfplotsthrow@warning{The per point meta data `#1' (#2) (and probably others as well) is unbounded - using the minimum value instead.}%
353 },
354 /pgfplots/warning/gnuplot -V impossible/.code={%
355 \pgfplotsthrow@warning{Sorry, I could not determine 'gnuplot -V' to check whether gnuplot and logscale writes results in log() or not. Please set `/pgfplots/gnuplot writes logscale=true|false' manually.}%
356 },
357 /pgfplots/warning/gnuplot -V format unknown/.code={%
358 \pgfplotsthrow@warning{Sorry, I can't reliably check which version of gnuplot is available. I guess it is gnuplot < 4.4. Please set `/pgfplots/gnuplot writes logscale=true|false' manually if anything fails.}%
359 },
360 /pgfplots/warning/plot3 graphics compatibility mode/.code={%
361 \pgfplotsthrow@warning{plot3 graphics is running in backwards compatibility mode. %
362 Use \string\pgfplotsset{compat=1.6} or higher to benefit from upgraded scaling capabilities.}%
363 },
364 /pgfplots/warning/plot3 graphics too few inner anchors/.code={%
365 \pgfplotsthrow@warning{plot graphics in 3D axis has just two inner anchors (those with '(x,y,z)=>(imgx,imgy)'). You should provide a third one such that I can check for correct scaling.}%
366 },
367 /pgfplots/warning/scatter classes no such class/.code={%
368 \pgfplotsthrow@warning{scatter/classes: can't find class for '#1'!? Please make sure you have specified 'scatter src=explicit symbolic'. Ignoring class '#1' (this message will not come again).}%
369 },
370 /pgfplots/warning/lua colormap unavailable/.code={%
371 \pgfplotsthrow@warning{there is no LUA colormap representation for #1. Using TeX arithmetics.}%
372 },
373 /pgfplots/warning/interior colormap inefficient/.code={%
374 \pgfplotsthrow@warning{the combination 'shader=interp,interior colormap name' is inefficient (it uses 'shader=faceted interp,faceted color=none') and may slow down the *display* of your document}%
375 },
376 /pgfplots/warning/matrix delinearize uses sqrt/.code args={#1#2#3#4}{%
377 \pgfplotsthrow@warning{%
378 mesh processing did not find '[mesh/rows=<N>]' or '[mesh/cols=<N>]'.
379 Assuming [mesh/rows=#1,mesh/cols=#2]
380 as sqrt(num points) = sqrt(#3) [ = #4].}%
381 },
382 /pgfplots/warning/matrix check/.code args={#1#2#3#4#5}{%
383 #1{the arguments of [mesh/rows=#2,mesh/cols=#3] assume #5\space points, but I actually got N = #4\space points! The data matrix appears to be incomplete or overcomplete!? [Use mesh/check=false to disable this message]}%
384 },
385 /pgfplots/warning/imagesc limits incomplete/.code args={#1}{%
386 \pgfkeysgetvalue{/pgfplots/empty line}\pgfplots@loc@TMPa%
387 \def\pgfplots@loc@TMPb{scanline}
388 \ifx\pgfplots@loc@TMPb\pgfplots@loc@TMPa
389 \pgfplotsthrow@warning{Automatic computation of axis limits for 'matrix plot' is INACCURATE. Please add the key '#1'. You can also ignore this warning and deal with axis limits manually}%
390 \else
391 \pgfplotsthrow@warning{Automatic computation of axis limits for 'matrix plot' is INACCURATE. Please add the keys '#1,empty line=scanline' (current value is empty line=\pgfplots@loc@TMPa). You can also ignore this warning and deal with axis limits manually}%
392 \fi
393 },
394 /pgfplots/warning/tick computation failed/.code 2 args={%
395 \pgfplotsthrow@warning{Tick computation for direction #1 failed; there are always too few tick labels (try min ticks has already been advanced to #2)}%
396 },
397 /pgfplots/warning/scale uniformly unsupported/.code={%
398 \pgfplotsthrow@warning{Sorry, 'scale uniformly' failed because its actual implementation works only if y_x = 0 and x_y = 0 (for 2d axes) or if z_x = 0 (for 3d axes). The result will not fill the prescribed dimensions. Falling back to 'scale uniformly strategy=units only. (use scale uniformly warning=false to disable this warning)}%
399 },
400 /pgfplots/warning/axis equal incompatible change/.code={%
401 \pgfplotsthrow@warning{the content of your 3d axis has changed compared to previous versions of pgfplots. please review it. ^^J %
402 [continued] explanation: you have a 3d axis with 'axis equal' and/or 'unit vector ratio' which has (probably) been optimized for an older version of pgfplots. any version older than 1.6 produced wrong output.^^J %
403 [continued] to remove this warning, write \string\pgfplotsset{compat=1.6} (or newer) in your preamble (may change all figures in your document) or by adding that to the affected axis.}%
404 },
405 /pgfplots/warning/unit vector ratio axis undetermined/.code={%
406 \pgfplotsthrow@warning{The algorithm to implement 'unit vector ratio' failed! It could not determine the axis which shall be scaled and decided to use 'unit vector ratio axis=#1'.}%
407 },
408 /pgfplots/warning/linear system singular/.code={%
409 \pgfplotsthrow@warning{Linear system is singular up to machine precision! Continuing with small threshold.}%
410 },
411 /pgfplots/warning/center lines upgrade required/.code={%
412 \pgfplotsthrow@warning{Please use '\string\pgfplotsset{compat=1.8}' to enable correct label placement for 3d axes (at least compat/labels=1.8).}%
413 },
414 /pgfplots/warning/empty column name/.code 2 args={%
415 \pgfplotsthrow@warning{Table '#1' has an empty column name; replacing it by '#2'}%
416 },
417 }
418 \let\pgfplotsexceptionmsg=\relax
419
420 \def\pgfplots@EOI{\pgfplots@EOI}%
421
422 \newif\ifpgfplots@loc@tmp
423 \newtoks\t@pgfplots@toka
424 \newtoks\t@pgfplots@tokb
425 \newtoks\t@pgfplots@tokc
426 \newdimen\pgfplots@tmpa
427 \newcount\c@pgfplots@coordindex
428 \newcount\c@pgfplots@scanlineindex
429 \pgfutil@IfUndefined{r@pgf@reada}{%
430 \csname newread\endcsname\r@pgfplots@reada
431 }{%
432 \let\r@pgfplots@reada=\r@pgf@reada
433 }
434
435 % use these macros for GLOBAL temporary assignments.
436 % you can NEVER rely on their values unless you know exactly what you are doing.
437 \gdef\pgfplots@glob@TMPa{}%
438 \gdef\pgfplots@glob@TMPb{}%
439 \gdef\pgfplots@glob@TMPc{}%
440
441 % use these macros for LOCAL temporary assignments.
442 % you can NEVER rely on their values unless you know exactly what you are doing.
443 \def\pgfplots@loc@TMPa{}%
444 \def\pgfplots@loc@TMPb{}%
445 \def\pgfplots@loc@TMPc{}%
446
447
448 % Invokes code #2 if file '#1' exists and #3 if not.
449 \long\def\pgfplots@iffileexists#1#2#3{%
450 \openin\r@pgfplots@reada=#1
451 \ifeof\r@pgfplots@reada
452 #3\relax
453 \else
454 \closein\r@pgfplots@reada
455 #2\relax
456 \fi
457 }
458 \let\pgfplotsiffileexists=\pgfplots@iffileexists
459
460 \pgfutil@ifundefined{pgfplots@texdist@protect}{%
461 \def\pgfplots@texdist@protect{}%
462 }{}
463
464 \input pgfplotssysgeneric.code.tex
465 \endinput