blob: acc9d996bc85a2d971432d448b8591930464ce4a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
%--------------------------------------------
%
% Package pgfplots.sty
%
% 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 2007-2013 by Christian Feuersänger.
%
% This program is free software: you can redistribute it and/or modify
% 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/>.
%
%--------------------------------------------
\IfFileExists{pgfplots.revision.tex}{\input pgfplots.revision.tex } {%
\def\pgfplotsrevision{???}%
\def\pgfplotsversion{???}%
\def\pgfplotsversiondate{???}%
}
\ProvidesPackage{pgfplots}[\pgfplotsversiondate\space v\pgfplotsversion\space Data Visualization (\pgfplotsrevision)]
% ATTENTION:
% you MAY need one of
% \def\pgfsysdriver{pgfsys-dvipdfm.def}
% \def\pgfsysdriver{pgfsys-pdftex.def}
% \def\pgfsysdriver{pgfsys-dvips.def}
%
% BEFORE the first \usepackage{pgf}, \usepackage{tikz} or
% \usepackage{pgfplots}.
% Default is
% 'dvips' for 'latex'
% 'pdftex' for 'pdflatex'
% -> dvipdfm needs special attention.
\RequirePackage{tikz}
\def\pgfplots@texdist@protect{\protect}%
\input pgfplots.code.tex
% checks for xcolor configuration options and will override
% mesh/colorspace explicit color output
% and
% colormap default colorspace
% if needed.
\def\pgfplots@check@global@colorspace@overrides{%
% "bOverridesColorspace"
\pgfplots@loc@tmpfalse
\ifconvertcolorsD
% xcolor converts at *definition* time:
\pgfplots@loc@tmptrue
\else
\ifconvertcolorsU
% xcolor converts at *usage* time:
\pgfplots@loc@tmptrue
\fi
\fi
%
\ifpgfplots@loc@tmp
\let\pgfplots@loc@TMPb=\pgfutil@empty%
\ifx\XC@tgt@mod\pgfplots@XC@tgt@mod@rgb \def\pgfplots@loc@TMPb{rgb}\fi
\ifx\XC@tgt@mod\pgfplots@XC@tgt@mod@RGB \def\pgfplots@loc@TMPb{rgb}\fi
\ifx\XC@tgt@mod\pgfplots@XC@tgt@mod@cmyk\def\pgfplots@loc@TMPb{cmyk}\fi
\ifx\XC@tgt@mod\pgfplots@XC@tgt@mod@cmy \def\pgfplots@loc@TMPb{cmyk}\fi
\ifx\XC@tgt@mod\pgfplots@XC@tgt@mod@gray \def\pgfplots@loc@TMPb{gray}\fi
\ifx\XC@tgt@mod\pgfplots@XC@tgt@mod@Gray \def\pgfplots@loc@TMPb{gray}\fi
%
\ifx\pgfplots@loc@TMPb\pgfutil@empty
\else
\edef\pgfplots@loc@TMPa{%
mesh/colorspace explicit color output=\pgfplots@loc@TMPb,%
colormap default colorspace=\pgfplots@loc@TMPb,%
}%
\pgfplots@log3{Overriding colorspace to \pgfplots@loc@TMPb\space due to xcolor configuration.}%
\expandafter\pgfplotsset\expandafter{\pgfplots@loc@TMPa}%
\fi
\fi
}%
\def\pgfplots@XC@tgt@mod@rgb#1{rgb}
\def\pgfplots@XC@tgt@mod@RGB#1{rgb}
\def\pgfplots@XC@tgt@mod@cmyk#1{cmyk}
\def\pgfplots@XC@tgt@mod@cmy#1{cmy}
\def\pgfplots@XC@tgt@mod@gray#1{gray}
\def\pgfplots@XC@tgt@mod@Gray#1{gray}
\usetikzlibrary{plotmarks}
\endinput
|