%--------------------------------------------
%
% Package pgfplots
%
% 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/2008 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 .
%
%--------------------------------------------
\edef\pgfplots@oldcatcodesemicolon{\the\catcode`\;}%
\catcode`\;=12
\input pgfplotscore.code.tex
\input pgfplotsoldpgfsupp_loader.code.tex
\input pgfplotsutil.code.tex
\input pgfplotscolormap.code.tex
\input pgfplots.stackedplots.code.tex
\input pgfplotscoordprocessing.code.tex
\input pgfplotsticks.code.tex
\usetikzlibrary{decorations,decorations.pathmorphing,decorations.pathreplacing}
% FIXME: reduce number of variables!
\newif\ifpgfplots@bb@isactive
\newif\ifpgfplots@xislinear
\newif\ifpgfplots@yislinear
\newif\ifpgfplots@zislinear
\newif\ifpgfplots@axis@equal
\newif\ifpgfplots@axis@equal@image
\newcount\pgfplots@numplots
\newdimen\pgfplots@xmin@reg
\newdimen\pgfplots@xmax@reg
\newdimen\pgfplots@ymin@reg
\newdimen\pgfplots@ymax@reg
\newdimen\pgfplots@zmin@reg
\newdimen\pgfplots@zmax@reg
\newif\ifpgfplots@warn@for@filter@discards
\newif\ifpgfplots@isuniformtick
\newif\ifpgfplots@clip@limits
\newif\ifpgfplots@clip
\pgfplots@cliptrue
\newif\ifpgfplots@enlargelimits
\newif\ifpgfplots@enlargelimits@rel@thresh
\newif\ifpgfplots@enlargelimits@auto
\newif\ifpgfplots@tickshow
\newif\ifpgfplots@scatterplotenabled
\newif\ifpgfplots@xminorticks
\newif\ifpgfplots@xmajorticks
\newif\ifpgfplots@yminorticks
\newif\ifpgfplots@ymajorticks
\newif\ifpgfplots@zminorticks
\newif\ifpgfplots@zmajorticks
\newif\ifpgfplots@xminorgrids
\newif\ifpgfplots@xmajorgrids
\newif\ifpgfplots@yminorgrids
\newif\ifpgfplots@ymajorgrids
\newif\ifpgfplots@zminorgrids
\newif\ifpgfplots@zmajorgrids
\newif\ifpgfplots@clip@marker@paths
\newif\ifpgfplots@axis@on@top
\newif\ifpgfplots@separate@axis@lines
\newif\ifpgfplots@identify@log@minor@tick@pos
\newif\ifpgfplots@disablelogfilter@x
\newif\ifpgfplots@disablelogfilter@y
\newif\ifpgfplots@disablelogfilter@z
\newif\ifpgfplots@disabledatascaling
\newif\ifpgfplots@hide@x
\newif\ifpgfplots@hide@y
\newif\ifpgfplots@hide@z
\newif\ifpgfplots@is@old@list@format
\newif\ifpgfplots@errorbars@enabled
\newif\ifpgfplots@scale@only@axis
\newif\ifpgfplots@xticklabel@interval
\newif\ifpgfplots@yticklabel@interval
\newif\ifpgfplots@zticklabel@interval
\newif\ifpgfplots@stackedmode
\newif\ifpgfplots@stacked@reverse
\newif\ifpgfplots@stacked@plus
\newif\ifpgfplots@plot@file@skipfirst
\newif\ifpgfplots@threedim
\newif\ifpgfplots@curplot@isirrelevant
\newif\ifpgfplots@perpointmeta@usesfloat
\let\pgfnodepartimagebox=\pgfnodeparttextbox
\newif\ifpgfplots@collect@firstplot@astick
\def\pgfplots@errorbars@xdirection{0}% pre-init, see below
\def\pgfplots@errorbars@ydirection{0}%
\def\pgfplots@errorbars@zdirection{0}%
\def\axisdefaultwidth{240pt}
\def\axisdefaultheight{207pt}
% Creates a named plot cycle list.
%
% #1: the name of the final list. Can be used in 'cycle list name'
% #2: the list entries. You can use either a comma-separated list or
% a '\\'-terminated list. The latter case also requires '\\'
% AFTER the last entry.
\def\pgfplotscreateplotcyclelist#1#2{\expandafter\pgfplots@assign@list\csname pgfp@cyclist@\string#1@\endcsname{#2}}
\pgfplotscreateplotcyclelist{black white}{%
every mark/.append style={fill=gray},mark=*\\%
every mark/.append style={fill=gray},mark=square*\\%
every mark/.append style={fill=gray},mark=otimes*\\%
mark=star\\%
every mark/.append style={fill=gray},mark=diamond*\\%
densely dashed,every mark/.append style={solid,fill=gray},mark=*\\%
densely dashed,every mark/.append style={solid,fill=gray},mark=square*\\%
densely dashed,every mark/.append style={solid,fill=gray},mark=otimes*\\%
densely dashed,every mark/.append style={solid},mark=star\\%
densely dashed,every mark/.append style={solid,fill=gray},mark=diamond*\\%
}
\pgfplotscreateplotcyclelist{color}{%
blue,every mark/.append style={fill=blue!80!black},mark=*\\%
red,every mark/.append style={fill=red!80!black},mark=square*\\%
brown!60!black,every mark/.append style={fill=brown!80!black},mark=otimes*\\%
black,mark=star\\%
blue,every mark/.append style={fill=blue!80!black},mark=diamond*\\%
red,densely dashed,every mark/.append style={solid,fill=red!80!black},mark=*\\%
brown!60!black,densely dashed,every mark/.append style={solid,fill=brown!80!black},mark=square*\\%
black,densely dashed,every mark/.append style={solid,fill=gray},mark=otimes*\\%
blue,densely dashed,mark=star,every mark/.append style=solid\\%
red,densely dashed,every mark/.append style={solid,fill=red!80!black},mark=diamond*\\%
}
\pgfplotscreateplotcyclelist{exotic}{%
teal,every mark/.append style={fill=teal!80!black},mark=*\\%
orange,every mark/.append style={fill=orange!80!black},mark=square*\\%
cyan!60!black,every mark/.append style={fill=cyan!80!black},mark=otimes*\\%
red!70!white,mark=star\\%
lime!80!black,every mark/.append style={fill=lime},mark=diamond*\\%
red,densely dashed,every mark/.append style={solid,fill=red!80!black},mark=*\\%
yellow!60!black,densely dashed,every mark/.append style={solid,fill=yellow!80!black},mark=square*\\%
black,every mark/.append style={solid,fill=gray},mark=otimes*\\%
blue,densely dashed,mark=star,every mark/.append style=solid\\%
red,densely dashed,every mark/.append style={solid,fill=red!80!black},mark=diamond*\\%
}
% backwards compatibility:
\let\pgfcreateplotcyclelist=\pgfplotscreateplotcyclelist
\pgfplots@letcsname{pgfp@cyclist@\string\blackwhiteplotspeclist @}={pgfp@cyclist@black white@}%
\pgfplots@letcsname{pgfp@cyclist@\string\coloredplotspeclist @}={pgfp@cyclist@color@}%
%%%%
\def\pgfplotsset#{\pgfqkeys{/pgfplots}}
\def\pgfplotsdeprecatedstylecheck#1{%
\pgfkeysifdefined{#1/.@cmd}{%
\begingroup
\edef\pgfkeyscurrentkey{#1}%
\pgfkeyssplitpath
\pgfplots@warning{Loading deprecated style option
\pgfkeyscurrentpath/\pgfkeyscurrentname.
Please replace '\string\tikzstyle{\pgfkeyscurrentname}'
with '\string\pgfplotsset{\pgfkeyscurrentname/.style={}}'
(or '\string\pgfplotsset{\pgfkeyscurrentname/.append style={}}').}%
\endgroup
\pgfkeysvalueof{#1/.@cmd}\pgfeov
}{}%
}%
\def\pgfplots@scaled@ticks@setargs#1#2{%
\pgfutil@in@{:}{#2}%
\ifpgfutil@in@
\pgfplots@scaled@ticks@setargs@{#1}#2\pgfplots@EOI
\else
\expandafter\pgfutil@in@\expandafter{\pgfplots@activecolon}{#2}%
\ifpgfutil@in@
\pgfplots@scaled@ticks@setargs@active{#1}#2\pgfplots@EOI
\else
\pgfkeysalso{/pgfplots/scaled #1 ticks/#2}%
\fi
\fi
}%
\def\pgfplots@scaled@ticks@setargs@#1#2:#3\pgfplots@EOI{%
\pgfkeysalso{/pgfplots/scaled #1 ticks/#2=#3}%
}
{
\catcode`\:=\active
\gdef\pgfplots@scaled@ticks@setargs@active#1#2:#3\pgfplots@EOI{%
\pgfkeysalso{/pgfplots/scaled #1 ticks/#2=#3}%
}
}
% does the work for '[xyz]ticklabel pos'.
% #1 : one of [xyz]
% #2 : an axis line spec.
\def\pgfplots@setticklabelpos@for#1#2{%
\pgfkeysifdefined{/pgfplots/#1ticklabel pos/#2/.@cmd}{%
\pgfkeysvalueof{/pgfplots/#1ticklabel pos/#2/.@cmd}\pgfeov
}{%
\expandafter\def\csname pgfplots@#1ticklabelaxisspec\endcsname{#2}%
}%
}%
\pgfkeys{%
/pgfplots/search path for tikz/.unknown/.code={%
\let\searchname=\pgfkeyscurrentname%
\pgfkeysalso{%
/tikz/\searchname/.try=#1,
/pgfplots/\searchname/.lastretry=#1
}%
},%
/pgfplots/.is family,
/pgfplots/scale/.is family,
/pgfplots/legend/.is family,
/pgfplots/tick/.is family,
/pgfplots/axis/.is family,
/pgfplots/descriptions/.is family,
/pgfplots/style commands/.is family,
/pgfplots/naming commands/.is family,
/pgfplots/error bars/.is family,
/pgfplots/every axis/.style={},
/pgfplots/every axis/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every axis}},
/pgfplots/every axis/.belongs to family=/pgfplots/style commands,
/pgfplots/every semilogx axis/.style={},
/pgfplots/every semilogx axis/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every semilogx axis}},
/pgfplots/every semilogx axis/.belongs to family=/pgfplots/style commands,
/pgfplots/every semilogy axis/.style={},
/pgfplots/every semilogy axis/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every semilogy axis}},
/pgfplots/every semilogy axis/.belongs to family=/pgfplots/style commands,
/pgfplots/every loglog axis/.style={},
/pgfplots/every loglog axis/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every loglog axis}},
/pgfplots/every loglog axis/.belongs to family=/pgfplots/style commands,
/pgfplots/every linear axis/.style={},
/pgfplots/every linear axis/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every linear axis}},
/pgfplots/every linear axis/.belongs to family=/pgfplots/style commands,
/pgfplots/every axis plot/.style={},
/pgfplots/every axis plot/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every axis plot}},
/pgfplots/every axis plot/.belongs to family=/pgfplots/style commands,
/pgfplots/every axis plot post/.style={},
/pgfplots/every axis plot post/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every axis plot}},
/pgfplots/no markers/.style={/pgfplots/every axis plot post/.append style={mark=none}},
/pgfplots/every axis label/.style={},
/pgfplots/every axis label/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every axis label}},
/pgfplots/every axis label/.belongs to family=/pgfplots/style commands,
/pgfplots/every axis x label/.style={at={(0.5,0)},below,yshift=-15pt},
/pgfplots/every axis x label/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every axis x label}},
/pgfplots/every axis x label/.belongs to family=/pgfplots/style commands,
/pgfplots/every axis y label/.style={at={(0,0.5)},xshift=-35pt,rotate=90},
/pgfplots/every axis y label/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every axis y label}},
/pgfplots/every axis y label/.belongs to family=/pgfplots/style commands,
/pgfplots/every axis z label/.style={at={(0,0.5)},xshift=-35pt,rotate=90},
/pgfplots/every axis z label/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every axis z label}},
/pgfplots/every axis z label/.belongs to family=/pgfplots/style commands,
/pgfplots/every axis title/.style={at={(0.5,1)},above,yshift=6pt},
/pgfplots/every axis title/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every axis title}},
/pgfplots/every axis title/.belongs to family=/pgfplots/style commands,
/pgfplots/every tick/.style={very thin,gray},
/pgfplots/every tick/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every tick}},
/pgfplots/every tick/.belongs to family=/pgfplots/style commands,
/pgfplots/every inner x axis line/.style={},
/pgfplots/every inner y axis line/.style={},
/pgfplots/every inner z axis line/.style={},
/pgfplots/every outer x axis line/.style={},
/pgfplots/every outer y axis line/.style={},
/pgfplots/every outer z axis line/.style={},
/pgfplots/x axis line style/.style={
/pgfplots/every outer x axis line/.append style={#1},
/pgfplots/every inner x axis line/.append style={#1},
},
/pgfplots/y axis line style/.style={
/pgfplots/every outer y axis line/.append style={#1},
/pgfplots/every inner y axis line/.append style={#1},
},
/pgfplots/z axis line style/.style={
/pgfplots/every outer z axis line/.append style={#1},
/pgfplots/every inner z axis line/.append style={#1},
},
/pgfplots/outer axis line style/.style={
/pgfplots/every outer x axis line/.append style={#1},
/pgfplots/every outer y axis line/.append style={#1}%
/pgfplots/every outer z axis line/.append style={#1}%
},
/pgfplots/inner axis line style/.style={
/pgfplots/every inner x axis line/.append style={#1},
/pgfplots/every inner y axis line/.append style={#1}%
/pgfplots/every inner z axis line/.append style={#1}%
},
/pgfplots/axis line style/.style={
/pgfplots/inner axis line style={#1},
/pgfplots/outer axis line style={#1}%
},
/pgfplots/separate axis lines/.is if=pgfplots@separate@axis@lines,
/pgfplots/separate axis lines/.default=true,
/pgfplots/every minor tick/.style={},
/pgfplots/every minor tick/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every minor tick}},
/pgfplots/every minor tick/.belongs to family=/pgfplots/style commands,
/pgfplots/every major tick/.style={},
/pgfplots/every major tick/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every major tick}},
/pgfplots/every major tick/.belongs to family=/pgfplots/style commands,
/pgfplots/every x tick/.style={},
/pgfplots/every x tick/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every x tick}},
/pgfplots/every x tick/.belongs to family=/pgfplots/style commands,
/pgfplots/every minor x tick/.style={},
/pgfplots/every minor x tick/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every minor x tick}},
/pgfplots/every minor x tick/.belongs to family=/pgfplots/style commands,
/pgfplots/every major x tick/.style={},
/pgfplots/every major x tick/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every major x tick}},
/pgfplots/every major x tick/.belongs to family=/pgfplots/style commands,
/pgfplots/every y tick/.style={},
/pgfplots/every y tick/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every y tick}},
/pgfplots/every y tick/.belongs to family=/pgfplots/style commands,
/pgfplots/every minor y tick/.style={},
/pgfplots/every minor y tick/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every minor y tick}},
/pgfplots/every minor y tick/.belongs to family=/pgfplots/style commands,
/pgfplots/every major y tick/.style={},
/pgfplots/every major y tick/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every major y tick}},
/pgfplots/every major y tick/.belongs to family=/pgfplots/style commands,
/pgfplots/every z tick/.style={},
/pgfplots/every z tick/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every z tick}},
/pgfplots/every z tick/.belongs to family=/pgfplots/style commands,
/pgfplots/every minor z tick/.style={},
/pgfplots/every minor z tick/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every minor z tick}},
/pgfplots/every minor z tick/.belongs to family=/pgfplots/style commands,
/pgfplots/every major z tick/.style={},
/pgfplots/every major z tick/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every major z tick}},
/pgfplots/every major z tick/.belongs to family=/pgfplots/style commands,
%/pgfplots/every axis grid/.style={help lines},
/pgfplots/every axis grid/.style={thin,black!25},
/pgfplots/every axis grid/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every axis grid}},
/pgfplots/every axis grid/.belongs to family=/pgfplots/style commands,
/pgfplots/every minor grid/.style={},
/pgfplots/every minor grid/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every minor grid}},
/pgfplots/every minor grid/.belongs to family=/pgfplots/style commands,
/pgfplots/every major grid/.style={},
/pgfplots/every major grid/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every major grid}},
/pgfplots/every major grid/.belongs to family=/pgfplots/style commands,
/pgfplots/every axis x grid/.style={},
/pgfplots/every axis x grid/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every axis x grid}},
/pgfplots/every axis x grid/.belongs to family=/pgfplots/style commands,
/pgfplots/every minor x grid/.style={},
/pgfplots/every minor x grid/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every minor x grid}},
/pgfplots/every minor x grid/.belongs to family=/pgfplots/style commands,
/pgfplots/every major x grid/.style={},
/pgfplots/every major x grid/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every major x grid}},
/pgfplots/every major x grid/.belongs to family=/pgfplots/style commands,
/pgfplots/every axis y grid/.style={},
/pgfplots/every axis y grid/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every axis y grid}},
/pgfplots/every axis y grid/.belongs to family=/pgfplots/style commands,
/pgfplots/every minor y grid/.style={},
/pgfplots/every minor y grid/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every minor y grid}},
/pgfplots/every minor y grid/.belongs to family=/pgfplots/style commands,
/pgfplots/every major y grid/.style={},
/pgfplots/every major y grid/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every major y grid}},
/pgfplots/every major y grid/.belongs to family=/pgfplots/style commands,
/pgfplots/every axis z grid/.style={},
/pgfplots/every axis z grid/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every axis z grid}},
/pgfplots/every axis z grid/.belongs to family=/pgfplots/style commands,
/pgfplots/every minor z grid/.style={},
/pgfplots/every minor z grid/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every minor z grid}},
/pgfplots/every minor z grid/.belongs to family=/pgfplots/style commands,
/pgfplots/every major z grid/.style={},
/pgfplots/every major z grid/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every major z grid}},
/pgfplots/every major z grid/.belongs to family=/pgfplots/style commands,
/pgfplots/every tick label/.style={},
/pgfplots/every tick label/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every tick label}},
/pgfplots/every tick label/.belongs to family=/pgfplots/style commands,
/pgfplots/every x tick label/.style={},
/pgfplots/every x tick label/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every x tick label}},
/pgfplots/every x tick label/.belongs to family=/pgfplots/style commands,
/pgfplots/every extra x tick/.style={
/pgfplots/log identify minor tick positions=true,
},
/pgfplots/every extra x tick/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every extra x tick}},
/pgfplots/every extra x tick/.belongs to family=/pgfplots/style commands,
/pgfplots/extra x tick style/.belongs to family=/pgfplots/style commands,
/pgfplots/extra x tick style/.code={%
\pgfkeysalso{/pgfplots/every extra x tick/.append style={#1}}%
},
/pgfplots/every x tick scale label/.style={at={(1,0)},yshift=-2em,left,inner sep=0pt},
/pgfplots/every x tick scale label/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every x tick scale label}},
/pgfplots/every x tick scale label/.belongs to family=/pgfplots/style commands,
/pgfplots/every y tick label/.style={},
/pgfplots/every y tick label/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every y tick label}},
/pgfplots/every y tick label/.belongs to family=/pgfplots/style commands,
/pgfplots/every extra y tick/.style={
/pgfplots/log identify minor tick positions=true,
},
/pgfplots/every extra y tick/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every extra y tick}},
/pgfplots/every extra y tick/.belongs to family=/pgfplots/style commands,
/pgfplots/extra y tick style/.belongs to family=/pgfplots/style commands,
/pgfplots/extra y tick style/.code={%
\pgfkeysalso{/pgfplots/every extra y tick/.append style={#1}}%
},
/pgfplots/every y tick scale label/.style={at={(0,1)},above right,inner sep=0pt,yshift=0.3em},
/pgfplots/every y tick scale label/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every y tick scale label}},
/pgfplots/every y tick scale label/.belongs to family=/pgfplots/style commands,
/pgfplots/every z tick label/.style={},
/pgfplots/every z tick label/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every z tick label}},
/pgfplots/every z tick label/.belongs to family=/pgfplots/style commands,
/pgfplots/every extra z tick/.style={
/pgfplots/log identify minor tick positions=true,
},
/pgfplots/every extra z tick/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every extra z tick}},
/pgfplots/every extra z tick/.belongs to family=/pgfplots/style commands,
/pgfplots/extra z tick style/.belongs to family=/pgfplots/style commands,
/pgfplots/extra z tick style/.code={%
\pgfkeysalso{/pgfplots/every extra z tick/.append style={#1}}%
},
/pgfplots/every z tick scale label/.style={at={(0,1)},above right,inner sep=0pt,yshift=0.3em},
/pgfplots/every z tick scale label/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every z tick scale label}},
/pgfplots/every z tick scale label/.belongs to family=/pgfplots/style commands,
/pgfplots/every axis legend/.style={%
cells={anchor=center},
inner xsep=3pt,inner ysep=2pt,nodes={inner sep=2pt,text depth=0.15em},
anchor=north east,%
shape=rectangle,%
fill=white,%
draw=black,
at={(0.98,0.98)},
},
/pgfplots/every axis legend/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every axis legend}},
/pgfplots/every axis legend/.belongs to family=/pgfplots/style commands,
% tick options:
/pgfplots/xticklabel/.store in= \pgfplots@xticklabel,
/pgfplots/xticklabel/.belongs to family=/pgfplots/tick,
/pgfplots/xticklabel=,
/pgfplots/xticklabels/.belongs to family=/pgfplots/tick,
/pgfplots/xticklabels/.code={%
\pgfplots@foreach@to@list{#1}\to\pgfplots@xticklabels
\let\pgfplots@xticklabel=\pgfplots@user@ticklabel@list@x
},
/pgfplots/yticklabels/.belongs to family=/pgfplots/tick,
/pgfplots/yticklabels/.code={%
\pgfplots@foreach@to@list{#1}\to\pgfplots@yticklabels
\let\pgfplots@yticklabel=\pgfplots@user@ticklabel@list@y
},
/pgfplots/yticklabel/.store in= \pgfplots@yticklabel,
/pgfplots/yticklabel/.belongs to family=/pgfplots/tick,
/pgfplots/yticklabel=,
/pgfplots/zticklabels/.belongs to family=/pgfplots/tick,
/pgfplots/zticklabels/.code={%
\pgfplots@foreach@to@list{#1}\to\pgfplots@zticklabels
\let\pgfplots@zticklabel=\pgfplots@user@ticklabel@list@z
},
/pgfplots/zticklabel/.store in= \pgfplots@zticklabel,
/pgfplots/zticklabel/.belongs to family=/pgfplots/tick,
/pgfplots/zticklabel=,
/pgfplots/x tick label as interval/.is if=pgfplots@xticklabel@interval,
/pgfplots/x tick label as interval/.default=true,
/pgfplots/x tick label as interval/.belongs to family=/pgfplots/tick,
/pgfplots/y tick label as interval/.is if=pgfplots@yticklabel@interval,
/pgfplots/y tick label as interval/.default=true,
/pgfplots/y tick label as interval/.belongs to family=/pgfplots/tick,
/pgfplots/z tick label as interval/.is if=pgfplots@zticklabel@interval,
/pgfplots/z tick label as interval/.default=true,
/pgfplots/z tick label as interval/.belongs to family=/pgfplots/tick,
/pgfplots/extra x tick label/.store in= \pgfplots@extra@xticklabel,
/pgfplots/extra x tick label/.belongs to family=/pgfplots/tick,
/pgfplots/extra x tick label=,
/pgfplots/extra x tick labels/.belongs to family=/pgfplots/tick,
/pgfplots/extra x tick labels/.code={%
\pgfplots@foreach@to@list{#1}\to\pgfplots@extra@xticklabels
\let\pgfplots@extra@xticklabel=\pgfplots@user@extra@ticklabel@list@x
},
/pgfplots/extra y tick labels/.code={%
\pgfplots@foreach@to@list{#1}\to\pgfplots@extra@yticklabels
\let\pgfplots@extra@yticklabel=\pgfplots@user@extra@ticklabel@list@y
},
/pgfplots/extra z tick labels/.code={%
\pgfplots@foreach@to@list{#1}\to\pgfplots@extra@zticklabels
\let\pgfplots@extra@zticklabel=\pgfplots@user@extra@ticklabel@list@z
},
/pgfplots/xtick/.store in= \pgfplots@xtick,
/pgfplots/xtick/.belongs to family=/pgfplots/tick,
/pgfplots/xtick=,
/pgfplots/extra x ticks/.store in=\pgfplots@extra@xtick,
/pgfplots/extra x ticks/.belongs to family=/pgfplots/tick,
/pgfplots/extra x ticks=,
/pgfplots/xtickten/.store in= \pgfplots@xtickten,
/pgfplots/xtickten/.belongs to family=/pgfplots/tick,
/pgfplots/xtickten=,
/pgfplots/extra y tick label/.store in= \pgfplots@extra@yticklabel,
/pgfplots/extra y tick label/.belongs to family=/pgfplots/tick,
/pgfplots/extra y tick label=,
/pgfplots/ytick/.store in= \pgfplots@ytick,
/pgfplots/ytick/.belongs to family=/pgfplots/tick,
/pgfplots/ytick=,
/pgfplots/extra y ticks/.store in=\pgfplots@extra@ytick,
/pgfplots/extra y ticks/.belongs to family=/pgfplots/tick,
/pgfplots/extra y ticks=,
/pgfplots/ytickten/.store in= \pgfplots@ytickten,
/pgfplots/ytickten/.belongs to family=/pgfplots/tick,
/pgfplots/ytickten=,
/pgfplots/extra z tick label/.store in= \pgfplots@extra@zticklabel,
/pgfplots/extra z tick label/.belongs to family=/pgfplots/tick,
/pgfplots/extra z tick label=,
/pgfplots/ztick/.store in= \pgfplots@ztick,
/pgfplots/ztick/.belongs to family=/pgfplots/tick,
/pgfplots/ztick=,
/pgfplots/extra z ticks/.store in=\pgfplots@extra@ztick,
/pgfplots/extra z ticks/.belongs to family=/pgfplots/tick,
/pgfplots/extra z ticks=,
/pgfplots/ztickten/.store in= \pgfplots@ztickten,
/pgfplots/ztickten/.belongs to family=/pgfplots/tick,
/pgfplots/ztickten=,
/pgfplots/xtick scale label code/.code={$\cdot 10^{#1}$},
/pgfplots/xtick scale label code/.belongs to family=/pgfplots/tick,
/pgfplots/ytick scale label code/.code={$\cdot 10^{#1}$},
/pgfplots/ytick scale label code/.belongs to family=/pgfplots/tick,
/pgfplots/ztick scale label code/.code={$\cdot 10^{#1}$},
/pgfplots/ztick scale label code/.belongs to family=/pgfplots/tick,
/pgfplots/tick scale label code/.style={%
/pgfplots/xtick scale label code={#1},
/pgfplots/ytick scale label code={#1}%
/pgfplots/ztick scale label code={#1}%
},%
/pgfplots/scaled x ticks/.code={\pgfplots@scaled@ticks@setargs{x}{#1}},
/pgfplots/scaled x ticks/false/.code= {\def\pgfplots@scaled@ticks@x@choice{0}},
/pgfplots/scaled x ticks/true/.code= {\def\pgfplots@scaled@ticks@x@choice{1}},
/pgfplots/scaled x ticks/base 10/.code= {\def\pgfplots@scaled@ticks@x@choice{2}\def\pgfplots@scaled@ticks@x@arg{#1}},
/pgfplots/scaled x ticks/real/.code= {%
\def\pgfplots@scaled@ticks@x@choice{3}\def\pgfplots@scaled@ticks@x@arg{#1}%
\pgfkeys{/pgfplots/xtick scale label code/.code={$\cdot \pgfmathprintnumber{#1}$}}},
/pgfplots/scaled x ticks/manual/.code 2 args= {%
\def\pgfplots@scaled@ticks@x@choice{4}\def\pgfplots@scaled@ticks@x@arg##1{#2}%
\pgfkeys{/pgfplots/xtick scale label code/.code={#1}}},
/pgfplots/scaled x ticks/.belongs to family=/pgfplots/tick,
/pgfplots/scaled x ticks=true,
/pgfplots/scaled y ticks/.code={\pgfplots@scaled@ticks@setargs{y}{#1}},
/pgfplots/scaled y ticks/false/.code= {\def\pgfplots@scaled@ticks@y@choice{0}},
/pgfplots/scaled y ticks/true/.code= {\def\pgfplots@scaled@ticks@y@choice{1}},
/pgfplots/scaled y ticks/base 10/.code= {\def\pgfplots@scaled@ticks@y@choice{2}\def\pgfplots@scaled@ticks@y@arg{#1}},
/pgfplots/scaled y ticks/real/.code= {%
\def\pgfplots@scaled@ticks@y@choice{3}\def\pgfplots@scaled@ticks@y@arg{#1}%
\pgfkeys{/pgfplots/ytick scale label code/.code={$\cdot \pgfmathprintnumber{#1}$}}},
/pgfplots/scaled y ticks/manual/.code 2 args= {%
\def\pgfplots@scaled@ticks@y@choice{4}\def\pgfplots@scaled@ticks@y@arg##1{#2}%
\pgfkeys{/pgfplots/ytick scale label code/.code={#1}}},
/pgfplots/scaled y ticks/.belongs to family=/pgfplots/tick,
/pgfplots/scaled y ticks=true,
/pgfplots/scaled z ticks/.code={\pgfplots@scaled@ticks@setargs{z}{#1}},
/pgfplots/scaled z ticks/false/.code= {\def\pgfplots@scaled@ticks@z@choice{0}},
/pgfplots/scaled z ticks/true/.code= {\def\pgfplots@scaled@ticks@z@choice{1}},
/pgfplots/scaled z ticks/base 10/.code= {\def\pgfplots@scaled@ticks@z@choice{2}\def\pgfplots@scaled@ticks@z@arg{#1}},
/pgfplots/scaled z ticks/real/.code= {%
\def\pgfplots@scaled@ticks@z@choice{3}\def\pgfplots@scaled@ticks@z@arg{#1}%
\pgfkeys{/pgfplots/ztick scale label code/.code={$\cdot \pgfmathprintnumber{#1}$}}},
/pgfplots/scaled z ticks/manual/.code 2 args= {%
\def\pgfplots@scaled@ticks@z@choice{4}\def\pgfplots@scaled@ticks@z@arg##1{#2}%
\pgfkeys{/pgfplots/ztick scale label code/.code={#1}}},
/pgfplots/scaled z ticks/.belongs to family=/pgfplots/tick,
/pgfplots/scaled z ticks=true,
/pgfplots/scaled ticks/.style={%
/pgfplots/scaled x ticks=#1,
/pgfplots/scaled y ticks=#1,
/pgfplots/scaled z ticks=#1
},
/pgfplots/scale ticks above exponent/.store in= \pgfplots@scale@ticks@above@exponent,
/pgfplots/scale ticks above exponent/.belongs to family=/pgfplots/tick,
/pgfplots/scale ticks above exponent=3,
/pgfplots/scale ticks below exponent/.store in= \pgfplots@scale@ticks@below@exponent,
/pgfplots/scale ticks below exponent/.belongs to family=/pgfplots/tick,
/pgfplots/scale ticks below exponent=-1,
/pgfplots/subtickwidth/.store in= \pgfplots@subtickwidth,
/pgfplots/subtickwidth/.belongs to family=/pgfplots/tick,
/pgfplots/subtickwidth=0.1cm,
/pgfplots/tickwidth/.store in= \pgfplots@tickwidth,
/pgfplots/tickwidth/.belongs to family=/pgfplots/tick,
/pgfplots/tickwidth=0.15cm,
/pgfplots/minor x tick num/.initial=0,
/pgfplots/minor x tick num/.belongs to family=/pgfplots/tick,
/pgfplots/minor y tick num/.initial=0,
/pgfplots/minor y tick num/.belongs to family=/pgfplots/tick,
/pgfplots/minor z tick num/.initial=0,
/pgfplots/minor z tick num/.belongs to family=/pgfplots/tick,
/pgfplots/minor tick num/.style={
/pgfplots/minor x tick num=#1,
/pgfplots/minor y tick num=#1,
/pgfplots/minor z tick num=#1,
},
/pgfplots/minor tick num/.belongs to family=/pgfplots/tick,
/pgfplots/minor tick length/.estore in=\pgfplots@subtickwidth,
/pgfplots/minor tick length/.belongs to family=/pgfplots/tick,
/pgfplots/major tick length/.estore in=\pgfplots@tickwidth,
/pgfplots/major tick length/.belongs to family=/pgfplots/tick,
/pgfplots/max space between ticks/.estore in=\axisdefaulttickwidth,
/pgfplots/max space between ticks/.belongs to family=/pgfplots/tick,
/pgfplots/max space between ticks=35,% the maximum space between adjacent ticks (in pt, but don't specify the unit 'pt')
/pgfplots/try min ticks/.estore in= \axisdefaulttryminticks,
/pgfplots/try min ticks/.belongs to family=/pgfplots/tick,
/pgfplots/try min ticks=4,
/pgfplots/try min ticks log/.estore in= \pgfplots@default@try@minticks@log,
/pgfplots/try min ticks log/.belongs to family=/pgfplots/tick,
/pgfplots/try min ticks log=3,
/pgfplots/log plot exponent style/.style={/pgf/number format/fixed,/pgf/number format/precision=2},
/pgfplots/log plot exponent style/.belongs to family=/pgfplots/tick,
/pgfplots/log identify minor tick positions/.is if=pgfplots@identify@log@minor@tick@pos,
/pgfplots/log identify minor tick positions/.belongs to family=/pgfplots/tick,
/pgfplots/log identify minor tick positions=false,
/pgfplots/log number format code/.code={{%
\pgfmathlogtologten@{#1}%
\ifpgfplots@identify@log@minor@tick@pos
\expandafter\pgfplots@is@log@tick@a@minor@tick@pos\pgfmathresult\relax%
\else
\pgfplots@log@tick@isminor@tick@posfalse
\fi
\ifpgfplots@log@tick@isminor@tick@pos
\pgfmathprintnumber[sci]{\pgfmathresult}%
\else
\pgfkeysalso{/pgfplots/log plot exponent style,/pgfplots/log base 10 number format code=\pgfmathresult}%
\fi
}},
/pgfplots/log number format code/.belongs to family=/pgfplots/tick,
/pgfplots/log base 10 number format code/.code={$10^{\pgfmathprintnumber{#1}}$},
/pgfplots/log base 10 number format code/.belongs to family=/pgfplots/tick,
% sets \pgfplots@[xy]tickposnum to
/pgfplots/xtick pos/.is choice,
/pgfplots/xtick pos/.belongs to family=/pgfplots/tick,
/pgfplots/xtick pos/left/.code ={\def\pgfplots@xtickposnum{1}},
/pgfplots/xtick pos/left/.belongs to family=/pgfplots/tick,
/pgfplots/xtick pos/right/.code ={\def\pgfplots@xtickposnum{3}},
/pgfplots/xtick pos/right/.belongs to family=/pgfplots/tick,
/pgfplots/xtick pos/both/.code ={\def\pgfplots@xtickposnum{0}},
/pgfplots/xtick pos/both/.belongs to family=/pgfplots/tick,
/pgfplots/xtick pos=both,
/pgfplots/ytick pos/.is choice,
/pgfplots/ytick pos/.belongs to family=/pgfplots/tick,
/pgfplots/ytick pos/left/.code ={\def\pgfplots@ytickposnum{1}},
/pgfplots/ytick pos/left/.belongs to family=/pgfplots/tick,
/pgfplots/ytick pos/right/.code ={\def\pgfplots@ytickposnum{3}},
/pgfplots/ytick pos/right/.belongs to family=/pgfplots/tick,
/pgfplots/ytick pos/both/.code ={\def\pgfplots@ytickposnum{0}},
/pgfplots/ytick pos/both/.belongs to family=/pgfplots/tick,
/pgfplots/ytick pos/top/.style={/pgfplots/ytick pos/right},
/pgfplots/ytick pos/bottom/.style={/pgfplots/ytick pos/left},
/pgfplots/ytick pos=both,
/pgfplots/ztick pos/.is choice,
/pgfplots/ztick pos/.belongs to family=/pgfplots/tick,
/pgfplots/ztick pos/left/.code ={\def\pgfplots@ztickposnum{1}},
/pgfplots/ztick pos/left/.belongs to family=/pgfplots/tick,
/pgfplots/ztick pos/right/.code ={\def\pgfplots@ztickposnum{3}},
/pgfplots/ztick pos/right/.belongs to family=/pgfplots/tick,
/pgfplots/ztick pos/both/.code ={\def\pgfplots@ztickposnum{0}},
/pgfplots/ztick pos/both/.belongs to family=/pgfplots/tick,
/pgfplots/ztick pos/top/.style={/pgfplots/ztick pos/right},
/pgfplots/ztick pos/bottom/.style={/pgfplots/ztick pos/left},
/pgfplots/ztick pos=both,
/pgfplots/tickpos/.style={
/pgfplots/xtick pos={#1},
/pgfplots/ytick pos={#1},
/pgfplots/ztick pos={#1}
},
/pgfplots/tickpos/.belongs to family=/pgfplots/tick,
% sets the tick LABEL position, \pgfplots@[xy]ticklabelaxisspec
% to one of
% default : 0
% left : 1
% right : 3
/pgfplots/xticklabel pos/.code={\pgfplots@setticklabelpos@for x{#1}},
/pgfplots/xticklabel pos/.belongs to family=/pgfplots/tick,
/pgfplots/xticklabel pos/default/.code ={\def\pgfplots@xticklabelaxisspec{}},
/pgfplots/xticklabel pos/default/.belongs to family=/pgfplots/tick,
/pgfplots/xticklabel pos/left/.code ={\def\pgfplots@xticklabelaxisspec{v00}},
/pgfplots/xticklabel pos/left/.belongs to family=/pgfplots/tick,
/pgfplots/xticklabel pos/right/.code ={\def\pgfplots@xticklabelaxisspec{v10}},
/pgfplots/xticklabel pos/right/.belongs to family=/pgfplots/tick,
/pgfplots/xticklabel pos/top/.style={/pgfplots/xticklabel pos/right},
/pgfplots/xticklabel pos/bottom/.style={/pgfplots/xticklabel pos/left},
/pgfplots/xticklabel pos=default,
/pgfplots/yticklabel pos/.code={\pgfplots@setticklabelpos@for y{#1}},
/pgfplots/yticklabel pos/.belongs to family=/pgfplots/tick,
/pgfplots/yticklabel pos/default/.code ={\def\pgfplots@yticklabelaxisspec{}},
/pgfplots/yticklabel pos/default/.belongs to family=/pgfplots/tick,
/pgfplots/yticklabel pos/left/.code ={\def\pgfplots@yticklabelaxisspec{0v0}},
/pgfplots/yticklabel pos/left/.belongs to family=/pgfplots/tick,
/pgfplots/yticklabel pos/right/.code ={\def\pgfplots@yticklabelaxisspec{1v0}},
/pgfplots/yticklabel pos/right/.belongs to family=/pgfplots/tick,
/pgfplots/yticklabel pos/top/.style={/pgfplots/yticklabel pos/right},
/pgfplots/yticklabel pos/bottom/.style={/pgfplots/yticklabel pos/left},
/pgfplots/yticklabel pos=default,
/pgfplots/zticklabel pos/.code={\pgfplots@setticklabelpos@for z{#1}},
/pgfplots/zticklabel pos/.belongs to family=/pgfplots/tick,
/pgfplots/zticklabel pos/default/.code ={\def\pgfplots@zticklabelaxisspec{}},
/pgfplots/zticklabel pos/default/.belongs to family=/pgfplots/tick,
/pgfplots/zticklabel pos=default,
/pgfplots/ticklabelpos/.style={
/pgfplots/xticklabel pos={#1},
/pgfplots/yticklabel pos={#1},
% /pgfplots/zticklabel pos={#1},
},
% sets \pgfplots@{x,y}tickalignnum to
% inside=0
% outside=1
% center=2
/pgfplots/xtick align/.is choice,
/pgfplots/xtick align/.belongs to family=/pgfplots/tick,
/pgfplots/xtick align/inside/.code ={\def\pgfplots@xtickalignnum{0}},
/pgfplots/xtick align/inside/.belongs to family=/pgfplots/tick,
/pgfplots/xtick align/outside/.code ={\def\pgfplots@xtickalignnum{1}},
/pgfplots/xtick align/outside/.belongs to family=/pgfplots/tick,
/pgfplots/xtick align/center/.code ={\def\pgfplots@xtickalignnum{2}},
/pgfplots/xtick align/center/.belongs to family=/pgfplots/tick,
/pgfplots/xtick align=inside,
/pgfplots/ytick align/.is choice,
/pgfplots/ytick align/.belongs to family=/pgfplots/tick,
/pgfplots/ytick align/inside/.code ={\def\pgfplots@ytickalignnum{0}},
/pgfplots/ytick align/inside/.belongs to family=/pgfplots/tick,
/pgfplots/ytick align/outside/.code ={\def\pgfplots@ytickalignnum{1}},
/pgfplots/ytick align/outside/.belongs to family=/pgfplots/tick,
/pgfplots/ytick align/center/.code ={\def\pgfplots@ytickalignnum{2}},
/pgfplots/ytick align/center/.belongs to family=/pgfplots/tick,
/pgfplots/ytick align=inside,
/pgfplots/ztick align/.is choice,
/pgfplots/ztick align/.belongs to family=/pgfplots/tick,
/pgfplots/ztick align/inside/.code ={\def\pgfplots@ztickalignnum{0}},
/pgfplots/ztick align/inside/.belongs to family=/pgfplots/tick,
/pgfplots/ztick align/outside/.code ={\def\pgfplots@ztickalignnum{1}},
/pgfplots/ztick align/outside/.belongs to family=/pgfplots/tick,
/pgfplots/ztick align/center/.code ={\def\pgfplots@ztickalignnum{2}},
/pgfplots/ztick align/center/.belongs to family=/pgfplots/tick,
/pgfplots/ztick align=inside,
/pgfplots/tick align/.belongs to family=/pgfplots/tick,
/pgfplots/tick align/.style={%
/pgfplots/xtick align=#1,
/pgfplots/ytick align=#1,
/pgfplots/ztick align=#1,
},%
% 'axis' options:
/pgfplots/anchor/.belongs to family=/pgfplots,
/pgfplots/anchor/.store in= \pgfplots@anchorname,
/pgfplots/anchor=south west,
% tick options:
/pgfplots/ticks/.is choice,
/pgfplots/ticks/.belongs to family=/pgfplots/tick,
/pgfplots/ticks/none/.belongs to family=/pgfplots/tick,
/pgfplots/ticks/none/.code={%
\pgfplots@xminorticksfalse
\pgfplots@yminorticksfalse
\pgfplots@zminorticksfalse
\pgfplots@xmajorticksfalse
\pgfplots@ymajorticksfalse
\pgfplots@zmajorticksfalse
},
/pgfplots/ticks/major/.belongs to family=/pgfplots/tick,
/pgfplots/ticks/major/.code={%
\pgfplots@xminorticksfalse
\pgfplots@yminorticksfalse
\pgfplots@zminorticksfalse
\pgfplots@xmajortickstrue
\pgfplots@ymajortickstrue
\pgfplots@zmajortickstrue
},
/pgfplots/ticks/minor/.belongs to family=/pgfplots/tick,
/pgfplots/ticks/minor/.code={%
\pgfplots@xminortickstrue
\pgfplots@yminortickstrue
\pgfplots@zminortickstrue
\pgfplots@xmajorticksfalse
\pgfplots@ymajorticksfalse
\pgfplots@zmajorticksfalse
},
/pgfplots/ticks/both/.belongs to family=/pgfplots/tick,
/pgfplots/ticks/both/.code={%
\pgfplots@xminortickstrue
\pgfplots@yminortickstrue
\pgfplots@zminortickstrue
\pgfplots@xmajortickstrue
\pgfplots@ymajortickstrue
\pgfplots@zmajortickstrue
},
/pgfplots/ticks=both,
/pgfplots/grid/.is choice,
/pgfplots/grid/.belongs to family=/pgfplots/tick,
/pgfplots/grid/none/.belongs to family=/pgfplots/tick,
/pgfplots/grid/none/.code={%
\pgfplots@xminorgridsfalse
\pgfplots@yminorgridsfalse
\pgfplots@zminorgridsfalse
\pgfplots@xmajorgridsfalse
\pgfplots@ymajorgridsfalse
\pgfplots@zmajorgridsfalse
},
/pgfplots/grid/major/.belongs to family=/pgfplots/tick,
/pgfplots/grid/major/.code={%
\pgfplots@xminorgridsfalse
\pgfplots@yminorgridsfalse
\pgfplots@zminorgridsfalse
\pgfplots@xmajorgridstrue
\pgfplots@ymajorgridstrue
\pgfplots@zmajorgridstrue
},
/pgfplots/grid/minor/.belongs to family=/pgfplots/tick,
/pgfplots/grid/minor/.code={%
\pgfplots@xminorgridstrue
\pgfplots@yminorgridstrue
\pgfplots@zminorgridstrue
\pgfplots@xmajorgridsfalse
\pgfplots@ymajorgridsfalse
\pgfplots@zmajorgridsfalse
},
/pgfplots/grid/both/.belongs to family=/pgfplots/tick,
/pgfplots/grid/both/.code={%
\pgfplots@xminorgridstrue
\pgfplots@yminorgridstrue
\pgfplots@zminorgridstrue
\pgfplots@xmajorgridstrue
\pgfplots@ymajorgridstrue
\pgfplots@zmajorgridstrue
},
/pgfplots/grid=none,
/pgfplots/grid/.default=major,
/pgfplots/xminorticks/.is if=pgfplots@xminorticks,
/pgfplots/xminorticks/.default=true,
/pgfplots/xminorticks/.belongs to family=/pgfplots/tick,
/pgfplots/xmajorticks/.is if=pgfplots@xmajorticks,
/pgfplots/xmajorticks/.default=true,
/pgfplots/xmajorticks/.belongs to family=/pgfplots/tick,
/pgfplots/yminorticks/.is if=pgfplots@yminorticks,
/pgfplots/yminorticks/.default=true,
/pgfplots/yminorticks/.belongs to family=/pgfplots/tick,
/pgfplots/ymajorticks/.is if=pgfplots@ymajorticks,
/pgfplots/ymajorticks/.default=true,
/pgfplots/ymajorticks/.belongs to family=/pgfplots/tick,
/pgfplots/zminorticks/.is if=pgfplots@zminorticks,
/pgfplots/zminorticks/.default=true,
/pgfplots/zminorticks/.belongs to family=/pgfplots/tick,
/pgfplots/zmajorticks/.is if=pgfplots@zmajorticks,
/pgfplots/zmajorticks/.default=true,
/pgfplots/zmajorticks/.belongs to family=/pgfplots/tick,
/pgfplots/xminorgrids/.is if=pgfplots@xminorgrids,
/pgfplots/xminorgrids/.default=true,
/pgfplots/xminorgrids/.belongs to family=/pgfplots/tick,
/pgfplots/xmajorgrids/.is if=pgfplots@xmajorgrids,
/pgfplots/xmajorgrids/.default=true,
/pgfplots/xmajorgrids/.belongs to family=/pgfplots/tick,
/pgfplots/yminorgrids/.is if=pgfplots@yminorgrids,
/pgfplots/yminorgrids/.default=true,
/pgfplots/yminorgrids/.belongs to family=/pgfplots/tick,
/pgfplots/ymajorgrids/.is if=pgfplots@ymajorgrids,
/pgfplots/ymajorgrids/.default=true,
/pgfplots/ymajorgrids/.belongs to family=/pgfplots/tick,
/pgfplots/zminorgrids/.is if=pgfplots@zminorgrids,
/pgfplots/zminorgrids/.default=true,
/pgfplots/zminorgrids/.belongs to family=/pgfplots/tick,
/pgfplots/zmajorgrids/.is if=pgfplots@zmajorgrids,
/pgfplots/zmajorgrids/.default=true,
/pgfplots/zmajorgrids/.belongs to family=/pgfplots/tick,
% legend options:
/pgfplots/legend entries/.initial={},
/pgfplots/legend entries/.belongs to family=/pgfplots/legend,
/pgfplots/legend columns/.store in=\pgfplots@legend@columns,
/pgfplots/legend columns/.belongs to family=/pgfplots/legend,
/pgfplots/legend columns=1,
/pgfplots/legend plot pos/.is choice,
/pgfplots/legend plot pos/.belongs to family=/pgfplots/legend,
/pgfplots/legend plot pos/left/.code= {\def\pgfplots@legend@plot@pos{0}},
/pgfplots/legend plot pos/left/.belongs to family=/pgfplots/legend,
/pgfplots/legend plot pos/right/.code= {\def\pgfplots@legend@plot@pos{1}},
/pgfplots/legend plot pos/right/.belongs to family=/pgfplots/legend,
/pgfplots/legend plot pos/none/.code= {\def\pgfplots@legend@plot@pos{2}},
/pgfplots/legend plot pos/none/.belongs to family=/pgfplots/legend,
/pgfplots/legend plot pos=left,
/pgfplots/legend image code/.code={%
\draw[#1,mark repeat=2,mark phase=2]
plot coordinates {
(0cm,0cm)
(0.3cm,0cm)
(0.6cm,0cm)%
};%
},
/pgfplots/legend image code/.belongs to family=/pgfplots/legend,
% axis description options:
/pgfplots/title/.initial=,
/pgfplots/title/.belongs to family=/pgfplots/descriptions,
/pgfplots/xlabel/.initial=,
/pgfplots/xlabel/.belongs to family=/pgfplots/descriptions,
/pgfplots/ylabel/.initial=,
/pgfplots/ylabel/.belongs to family=/pgfplots/descriptions,
/pgfplots/zlabel/.initial=,
/pgfplots/zlabel/.belongs to family=/pgfplots/descriptions,
/pgfplots/before end axis/.code=,
/pgfplots/after end axis/.code=,
/pgfplots/extra description/.code=,
/pgfplots/extra description/.belongs to family=/pgfplots/descriptions,
% axis options:
/pgfplots/at/.code={%
\pgfplots@assert@tikzinternal@exists{tikz@scan@one@point}%
\tikz@scan@one@point\pgfplots@set@at#1},
/pgfplots/at/.belongs to family=/pgfplots,
/pgfplots/clip limits/.is if=pgfplots@clip@limits,
/pgfplots/clip limits/.default=true,
/pgfplots/clip limits=true,
/pgfplots/clip limits/.belongs to family=/pgfplots,
/pgfplots/clip/.is if=pgfplots@clip,
/pgfplots/axis equal/.is if=pgfplots@axis@equal,
/pgfplots/axis equal/.default=true,
/pgfplots/axis equal image/.is if=pgfplots@axis@equal@image,
/pgfplots/axis equal image/.default=true,
/pgfplots/xmin/.belongs to family=/pgfplots,
/pgfplots/xmin/.initial=,
/pgfplots/xmax/.belongs to family=/pgfplots,
/pgfplots/xmax/.initial=,
/pgfplots/ymin/.belongs to family=/pgfplots,
/pgfplots/ymin/.initial=,
/pgfplots/ymax/.belongs to family=/pgfplots,
/pgfplots/ymax/.initial=,
/pgfplots/zmin/.belongs to family=/pgfplots,
/pgfplots/zmin/.initial=,
/pgfplots/zmax/.belongs to family=/pgfplots,
/pgfplots/zmax/.initial=,
/pgfplots/xtickmin/.belongs to family=/pgfplots,
/pgfplots/xtickmin/.initial=,
/pgfplots/xtickmax/.belongs to family=/pgfplots,
/pgfplots/xtickmax/.initial=,
/pgfplots/ytickmin/.belongs to family=/pgfplots,
/pgfplots/ytickmin/.initial=,
/pgfplots/ytickmax/.belongs to family=/pgfplots,
/pgfplots/ytickmax/.initial=,
/pgfplots/ztickmin/.belongs to family=/pgfplots,
/pgfplots/ztickmin/.initial=,
/pgfplots/ztickmax/.belongs to family=/pgfplots,
/pgfplots/ztickmax/.initial=,
/pgfplots/stack plots/.is choice,
/pgfplots/stack plots/.belongs to family=/pgfplots,
/pgfplots/stack plots/x/.code={\def\pgfplots@stacked@dir{x}\pgfplots@stackedmodetrue},
/pgfplots/stack plots/x/.belongs to family=/pgfplots,
/pgfplots/stack plots/y/.code={\def\pgfplots@stacked@dir{y}\pgfplots@stackedmodetrue},
/pgfplots/stack plots/y/.belongs to family=/pgfplots,
/pgfplots/stack plots/z/.code={\def\pgfplots@stacked@dir{z}\pgfplots@stackedmodetrue},
/pgfplots/stack plots/z/.belongs to family=/pgfplots,
/pgfplots/stack plots/false/.code={\pgfplots@stackedmodefalse},
/pgfplots/stack plots/false/.belongs to family=/pgfplots,
/pgfplots/stack plots=false,
/pgfplots/reverse stacked plots/.is if=pgfplots@stacked@reverse,
/pgfplots/reverse stacked plots/.belongs to family=/pgfplots,
/pgfplots/reverse stacked plots/.default=true,
/pgfplots/reverse stacked plots=true,
/pgfplots/stack dir/.is choice,
/pgfplots/stack dir/.belongs to family=/pgfplots,
/pgfplots/stack dir/plus/.code={\pgfplots@stacked@plustrue},
/pgfplots/stack dir/plus/.belongs to family=/pgfplots,
/pgfplots/stack dir/minus/.code={\pgfplots@stacked@plusfalse},
/pgfplots/stack dir/minus/.belongs to family=/pgfplots,
/pgfplots/stack dir=plus,
/pgfplots/filter discard warning/.is if=pgfplots@warn@for@filter@discards,
/pgfplots/filter discard warning=true,
/pgfplots/x filter/.code={},
/pgfplots/x filter/.belongs to family=/pgfplots,
/pgfplots/y filter/.code={},
/pgfplots/y filter/.belongs to family=/pgfplots,
/pgfplots/z filter/.code={},
/pgfplots/z filter/.belongs to family=/pgfplots,
/pgfplots/skip coords between index/.style 2 args={%
/pgfplots/x filter/.append code={%
\ifnum\coordindex<#1\relax
\else
\ifnum\coordindex<#2\relax
\let\pgfmathresult=\pgfutil@empty
\fi
\fi}
},
/pgfplots/xfilter/.initial=,% DEPRECATED
/pgfplots/yfilter/.initial=,% DEPRECATED
/pgfplots/zfilter/.initial=,% DEPRECATED
% interpretation:
% if 'samples at'==empty && 'domain' == empty
% use tikz option processing!
% else if 'samples at' == empty
% use 'domain'
% else
% use 'samples at'
/pgfplots/domain/.initial=,% empty -> use value of /tikz/domain! see \pgfplots@validate@plot@domain@arguments
/pgfplots/samples at/.initial=,% empty -> use value of /tikz/samples at!
/pgfplots/samples/.initial=,% empty -> use /tikz/samples!
% and provide aliases in the '/pgfplots/' tree to avoid
% search path problems just for these two options:
/pgfplots/name/.belongs to family=/pgfplots/naming commands,
/pgfplots/name/.code={\pgfkeysalso{/tikz/name={#1}}},
/pgfplots/alias/.belongs to family=/pgfplots/naming commands,
/pgfplots/alias/.code={\pgfkeysalso{/tikz/alias={#1}}},
/pgfplots/y domain/.initial=-5:5,
/pgfplots/width/.store in= \pgfplots@width,
/pgfplots/width/.belongs to family=/pgfplots,
/pgfplots/width=,
/pgfplots/height/.store in= \pgfplots@height,
/pgfplots/height/.belongs to family=/pgfplots,
/pgfplots/height=,
/pgfplots/execute at begin plot/.store in=\pgfplots@execute@at@begin@plot,
/pgfplots/execute at begin plot/.belongs to family=/pgfplots,
/pgfplots/execute at begin plot=,
/pgfplots/execute at end plot/.store in= \pgfplots@execute@at@end@plot,
/pgfplots/execute at end plot/.belongs to family=/pgfplots,
/pgfplots/execute at end plot=,
/pgfplots/enlarge x limits/.initial=auto,
/pgfplots/enlarge x limits/.default=true,
/pgfplots/enlarge y limits/.initial=auto,
/pgfplots/enlarge y limits/.default=true,
/pgfplots/enlarge z limits/.initial=auto,
/pgfplots/enlarge z limits/.default=true,
/pgfplots/enlargelimits/.style={%
/pgfplots/enlarge x limits=#1,%
/pgfplots/enlarge y limits=#1,%
/pgfplots/enlarge z limits=#1,%
},%
/pgfplots/enlargelimits/.default=true,
/pgfplots/x/.initial=,% is implicitly set by 'width' and/or '\axisdefaultwidth'
/pgfplots/x/.belongs to family=/pgfplots,
/pgfplots/y/.initial=,% is implicitly set by 'width' and/or '\axisdefaultwidth'
/pgfplots/y/.belongs to family=/pgfplots,
/pgfplots/z/.initial=,
/pgfplots/z/.belongs to family=/pgfplots,
/pgfplots/view/.code 2 args={%
\def\pgfplots@loc@TMPa{#1}%
\ifx\pgfplots@loc@TMPa\pgfutil@empty
\let\pgfplots@view@pitch=\pgfutil@empty
\let\pgfplots@view@yaw=\pgfutil@empty
\else
\pgfmathparse{#1}\let\pgfplots@view@pitch=\pgfmathresult
\pgfmathparse{#2}\let\pgfplots@view@yaw=\pgfmathresult
\fi
},
/pgfplots/view={}{},
/pgfplots/cycle list/.code={\pgfplots@assign@list\autoplotspeclist{#1}},
/pgfplots/cycle list/.belongs to family=/pgfplots,
/pgfplots/cycle list name/.code={%
\pgfutil@ifundefined{pgfp@cyclist@\string#1@}{%
\pgfplots@error{Sorry, there is no such cycle list named \string#1. Maybe you misspelled it?}%
}{%
\expandafter\let\expandafter\autoplotspeclist\csname pgfp@cyclist@\string#1@\endcsname
}%
},
/pgfplots/cycle list name/.belongs to family=/pgfplots,
/pgfplots/cycle list name=color,
/pgfplots/legend style/.belongs to family=/pgfplots/style commands,
/pgfplots/legend style/.code={%
\pgfkeysalso{/pgfplots/every axis legend/.append style={#1}}%
},
/pgfplots/label style/.belongs to family=/pgfplots/style commands,
/pgfplots/label style/.code={%
\pgfkeysalso{/pgfplots/every axis label/.append style={#1}}%
},%
/pgfplots/x label style/.belongs to family=/pgfplots/style commands,
/pgfplots/x label style/.code={%
\pgfkeysalso{/pgfplots/every axis x label/.append style={#1}}%
},
/pgfplots/y label style/.belongs to family=/pgfplots/style commands,
/pgfplots/y label style/.code={%
\pgfkeysalso{/pgfplots/every axis y label/.append style={#1}}%
},
/pgfplots/z label style/.belongs to family=/pgfplots/style commands,
/pgfplots/z label style/.code={%
\pgfkeysalso{/pgfplots/every axis z label/.append style={#1}}%
},
/pgfplots/title style/.belongs to family=/pgfplots/style commands,
/pgfplots/title style/.code={%
\pgfkeysalso{/pgfplots/every axis title/.append style={#1}}%
},
/pgfplots/tick label style/.belongs to family=/pgfplots/style commands,
/pgfplots/tick label style/.code={%
\pgfkeysalso{/pgfplots/every tick label/.append style={#1}}%
},
/pgfplots/x tick label style/.belongs to family=/pgfplots/style commands,
/pgfplots/x tick label style/.code={%
\pgfkeysalso{/pgfplots/every x tick label/.append style={#1}}%
},
/pgfplots/y tick label style/.belongs to family=/pgfplots/style commands,
/pgfplots/y tick label style/.code={%
\pgfkeysalso{/pgfplots/every y tick label/.append style={#1}}%
},
/pgfplots/z tick label style/.belongs to family=/pgfplots/style commands,
/pgfplots/z tick label style/.code={%
\pgfkeysalso{/pgfplots/every z tick label/.append style={#1}}%
},
/pgfplots/x tick scale label style/.belongs to family=/pgfplots/style commands,
/pgfplots/x tick scale label style/.code={%
\pgfkeysalso{/pgfplots/every x scale tick label/.append style={#1}}%
},
/pgfplots/y tick scale label style/.belongs to family=/pgfplots/style commands,
/pgfplots/y tick scale label style/.code={%
\pgfkeysalso{/pgfplots/every y scale tick label/.append style={#1}}%
},
/pgfplots/z tick scale label style/.belongs to family=/pgfplots/style commands,
/pgfplots/z tick scale label style/.code={%
\pgfkeysalso{/pgfplots/every z scale tick label/.append style={#1}}%
},
/pgfplots/tick style/.belongs to family=/pgfplots/style commands,
/pgfplots/tick style/.code={%
\pgfkeysalso{/pgfplots/every tick/.append style={#1}}%
},
/pgfplots/minor tick style/.belongs to family=/pgfplots/style commands,
/pgfplots/minor tick style/.code={%
\pgfkeysalso{/pgfplots/every minor tick/.append style={#1}}%
},
/pgfplots/major tick style/.belongs to family=/pgfplots/style commands,
/pgfplots/major tick style/.code={%
\pgfkeysalso{/pgfplots/every major tick/.append style={#1}}%
},
/pgfplots/x tick style/.belongs to family=/pgfplots/style commands,
/pgfplots/x tick style/.code={%
\pgfkeysalso{/pgfplots/every x tick/.append style={#1}}%
},
/pgfplots/minor x tick style/.belongs to family=/pgfplots/style commands,
/pgfplots/minor x tick style/.code={%
\pgfkeysalso{/pgfplots/every minor x tick/.append style={#1}}%
},
/pgfplots/major x tick style/.belongs to family=/pgfplots/style commands,
/pgfplots/major x tick style/.code={%
\pgfkeysalso{/pgfplots/every major x tick/.append style={#1}}%
},
/pgfplots/y tick style/.belongs to family=/pgfplots/style commands,
/pgfplots/y tick style/.code={%
\pgfkeysalso{/pgfplots/every y tick/.append style={#1}}%
},
/pgfplots/minor y tick style/.belongs to family=/pgfplots/style commands,
/pgfplots/minor y tick style/.code={%
\pgfkeysalso{/pgfplots/every minor y tick/.append style={#1}}%
},
/pgfplots/major y tick style/.belongs to family=/pgfplots/style commands,
/pgfplots/major y tick style/.code={%
\pgfkeysalso{/pgfplots/every major y tick/.append style={#1}}%
},
/pgfplots/z tick style/.belongs to family=/pgfplots/style commands,
/pgfplots/z tick style/.code={%
\pgfkeysalso{/pgfplots/every z tick/.append style={#1}}%
},
/pgfplots/minor z tick style/.belongs to family=/pgfplots/style commands,
/pgfplots/minor z tick style/.code={%
\pgfkeysalso{/pgfplots/every minor z tick/.append style={#1}}%
},
/pgfplots/major z tick style/.belongs to family=/pgfplots/style commands,
/pgfplots/major z tick style/.code={%
\pgfkeysalso{/pgfplots/every major z tick/.append style={#1}}%
},
/pgfplots/grid style/.belongs to family=/pgfplots/style commands,
/pgfplots/grid style/.code={%
\pgfkeysalso{/pgfplots/every axis grid/.append style={#1}}%
},
/pgfplots/minor grid style/.belongs to family=/pgfplots/style commands,
/pgfplots/minor grid style/.code={%
\pgfkeysalso{/pgfplots/every minor grid/.append style={#1}}%
},
/pgfplots/major grid style/.belongs to family=/pgfplots/style commands,
/pgfplots/major grid style/.code={%
\pgfkeysalso{/pgfplots/every major grid/.append style={#1}}%
},
/pgfplots/x grid style/.belongs to family=/pgfplots/style commands,
/pgfplots/x grid style/.code={%
\pgfkeysalso{/pgfplots/every axis x grid/.append style={#1}}%
},
/pgfplots/minor x grid style/.belongs to family=/pgfplots/style commands,
/pgfplots/minor x grid style/.code={%
\pgfkeysalso{/pgfplots/every minor x grid/.append style={#1}}%
},
/pgfplots/major x grid style/.belongs to family=/pgfplots/style commands,
/pgfplots/major x grid style/.code={%
\pgfkeysalso{/pgfplots/every major x grid/.append style={#1}}%
},
/pgfplots/y grid style/.belongs to family=/pgfplots/style commands,
/pgfplots/y grid style/.code={%
\pgfkeysalso{/pgfplots/every axis y grid/.append style={#1}}%
},
/pgfplots/minor y grid style/.belongs to family=/pgfplots/style commands,
/pgfplots/minor y grid style/.code={%
\pgfkeysalso{/pgfplots/every minor y grid/.append style={#1}}%
},
/pgfplots/major y grid style/.belongs to family=/pgfplots/style commands,
/pgfplots/major y grid style/.code={%
\pgfkeysalso{/pgfplots/every major y grid/.append style={#1}}%
},
/pgfplots/y grid style/.belongs to family=/pgfplots/style commands,
/pgfplots/y grid style/.code={%
\pgfkeysalso{/pgfplots/every axis z grid/.append style={#1}}%
},
/pgfplots/minor z grid style/.belongs to family=/pgfplots/style commands,
/pgfplots/minor z grid style/.code={%
\pgfkeysalso{/pgfplots/every minor z grid/.append style={#1}}%
},
/pgfplots/major z grid style/.belongs to family=/pgfplots/style commands,
/pgfplots/major z grid style/.code={%
\pgfkeysalso{/pgfplots/every major z grid/.append style={#1}}%
},
/pgfplots/disablelogfilter x/.is if=pgfplots@disablelogfilter@x,
/pgfplots/disablelogfilter x/.default=true,
/pgfplots/disablelogfilter y/.is if=pgfplots@disablelogfilter@y,
/pgfplots/disablelogfilter y/.default=true,
/pgfplots/disablelogfilter z/.is if=pgfplots@disablelogfilter@z,
/pgfplots/disablelogfilter z/.default=true,
/pgfplots/disablelogfilter/.style={
/pgfplots/disablelogfilter x=#1,
/pgfplots/disablelogfilter y=#1,
/pgfplots/disablelogfilter z=#1,
},
/pgfplots/disabledatascaling/.is if=pgfplots@disabledatascaling,
/pgfplots/disabledatascaling/.default=true,
/pgfplots/disabledatascaling/.belongs to family=/pgfplots,
/pgfplots/disabledatascaling=false,
/pgfplots/hide x axis/.is if=pgfplots@hide@x,
/pgfplots/hide x axis/.default=true,
/pgfplots/hide x axis=false,
/pgfplots/hide y axis/.is if=pgfplots@hide@y,
/pgfplots/hide y axis/.default=true,
/pgfplots/hide y axis=false,
/pgfplots/hide z axis/.is if=pgfplots@hide@y,
/pgfplots/hide z axis/.default=true,
/pgfplots/hide z axis=false,
/pgfplots/hide axis/.style={%
/pgfplots/hide x axis=#1,
/pgfplots/hide y axis=#1,
/pgfplots/hide z axis=#1,
},
/pgfplots/hide axis/.default=true,
/pgfplots/every non boxed x axis/.style={%
xtick align=center,
enlarge x limits=false,
x axis line style={-stealth}
},
/pgfplots/every non boxed y axis/.style={%
ytick align=center,
enlarge y limits=false,
y axis line style={-stealth}
},
/pgfplots/every non boxed z axis/.style={%
ytick align=center,
enlarge z limits=false,
y axis line style={-stealth}
},
/pgfplots/every boxed x axis/.style={},
/pgfplots/every boxed y axis/.style={},
/pgfplots/every boxed z axis/.style={},
% /pgfplots/hide axis/.belongs to family=/pgfplots,
% sets \pgfplots@xaxislinesnum to
% box=0
% bottom=1
% middle=2 ( aliased with center )
% top=3
/pgfplots/axis x line*/.is choice,
/pgfplots/axis x line*/box/.code ={\def\pgfplots@xaxislinesnum{0}\def\pgfplots@xtickposnum{0}},
/pgfplots/axis x line*/bottom/.code ={\def\pgfplots@xaxislinesnum{1}\def\pgfplots@xtickposnum{1}},
/pgfplots/axis x line*/middle/.code ={\def\pgfplots@xaxislinesnum{2}\def\pgfplots@xtickposnum{2}},
/pgfplots/axis x line*/center/.style ={/pgfplots/axis x line*/middle},
/pgfplots/axis x line*/top/.code ={\def\pgfplots@xaxislinesnum{3}\def\pgfplots@xtickposnum{3}},
/pgfplots/axis x line*/none/.code ={\def\pgfplots@xaxislinesnum{4}\def\pgfplots@xtickposnum{4}},
/pgfplots/axis x line*=box,
%
/pgfplots/axis x line/.is choice,
/pgfplots/axis x line/box/.style ={
/pgfplots/axis x line*/box,
/pgfplots/every boxed x axis
},
/pgfplots/axis x line/bottom/.style ={
/pgfplots/axis x line*/bottom,
/pgfplots/every non boxed x axis
},
/pgfplots/axis x line/middle/.code ={%
\ifnum\pgfplots@yaxislinesnum=3 % if 'axis y line==right' then
\pgfkeysalso{/pgfplots/every axis x label/.style={at={(current axis.left of origin)},anchor=south west}}%
\else
\pgfkeysalso{/pgfplots/every axis x label/.style={at={(current axis.right of origin)},anchor=south east}}%
\fi
\pgfkeysalso{/pgfplots/axis x line*/middle,
/pgfplots/every non boxed x axis}%
},
/pgfplots/axis x line/center/.style ={/pgfplots/axis x line/middle},
/pgfplots/axis x line/top/.code ={
\ifnum\pgfplots@yaxislinesnum=2 % if 'axis y line==center' then
\pgfkeysalso{
/pgfplots/every axis y label/.style={at={(current axis.below origin)},anchor=south west}}%
\fi
\pgfkeysalso{%
/pgfplots/axis x line*/top,
/pgfplots/every axis x label/.style={at={(0.5,1)},anchor=south,yshift=15pt},
/pgfplots/every non boxed x axis}%
},
/pgfplots/axis x line/none/.style ={axis x line*/none,hide x axis},
% sets \pgfplots@yaxislinesnum to
% box=0
% left=1
% center=2 ( aliased with middle )
% right=3
/pgfplots/axis y line*/.is choice,
/pgfplots/axis y line*/box/.code ={\def\pgfplots@yaxislinesnum{0}\def\pgfplots@ytickposnum{0}},
/pgfplots/axis y line*/left/.code ={\def\pgfplots@yaxislinesnum{1}\def\pgfplots@ytickposnum{1}},
/pgfplots/axis y line*/center/.code ={\def\pgfplots@yaxislinesnum{2}\def\pgfplots@ytickposnum{2}},
/pgfplots/axis y line*/middle/.style ={/pgfplots/axis y line*/center},
/pgfplots/axis y line*/right/.code ={\def\pgfplots@yaxislinesnum{3}\def\pgfplots@ytickposnum{3}},
/pgfplots/axis y line*/none/.code ={\def\pgfplots@yaxislinesnum{4}\def\pgfplots@ytickposnum{4}},
/pgfplots/axis y line*=box,
%
/pgfplots/axis y line/.is choice,
/pgfplots/axis y line/box/.style ={
/pgfplots/axis y line*/box,
/pgfplots/every boxed y axis
},
/pgfplots/axis y line/left/.style ={
/pgfplots/axis y line*/left,
/pgfplots/every non boxed y axis
},
/pgfplots/axis y line/center/.code ={
\ifnum\pgfplots@xaxislinesnum=3 % if 'axis x line==top' then
\pgfkeysalso{%
/pgfplots/every axis y label/.style={at={(current axis.below origin)},anchor=south west}}%
\else
\pgfkeysalso{%
/pgfplots/every axis y label/.style={at={(current axis.above origin)},anchor=north west}}%
\fi
\pgfkeysalso{%
/pgfplots/axis y line*/center,
/pgfplots/every non boxed y axis}%
},
/pgfplots/axis y line/middle/.style ={/pgfplots/axis y line/center},
/pgfplots/axis y line/right/.code ={%
\ifnum\pgfplots@xaxislinesnum=2
\pgfkeysalso{every axis x label/.style={at={(current axis.left of origin)},anchor=south west}}%
\fi
\pgfkeysalso{
axis y line*/right,
%every axis y label/.style={at={(1,1)},anchor=north west,xshift=15pt},
every axis y label/.style={at={(1,0.5)},xshift=33pt,rotate=90},
/pgfplots/every non boxed y axis
}%
},%
/pgfplots/axis y line/none/.style ={axis y line*/none,hide y axis},
%
% sets \pgfplots@zaxislinesnum to
% box=0
% left=1
% center=2 ( aliased with middle )
% right=3
/pgfplots/axis z line*/.is choice,
/pgfplots/axis z line*/box/.code ={\def\pgfplots@zaxislinesnum{0}\def\pgfplots@ztickposnum{0}},
/pgfplots/axis z line*/left/.code ={\def\pgfplots@zaxislinesnum{1}\def\pgfplots@ztickposnum{1}},
/pgfplots/axis z line*/center/.code ={\def\pgfplots@zaxislinesnum{2}\def\pgfplots@ztickposnum{2}},
/pgfplots/axis z line*/middle/.style ={/pgfplots/axis z line*/center},
/pgfplots/axis z line*/right/.code ={\def\pgfplots@zaxislinesnum{3}\def\pgfplots@ztickposnum{3}},
/pgfplots/axis z line*/none/.code ={\def\pgfplots@zaxislinesnum{4}\def\pgfplots@ztickposnum{4}},
/pgfplots/axis z line*=box,
%
/pgfplots/axis z line/.is choice,
/pgfplots/axis z line/box/.style ={
/pgfplots/axis z line*/box,
/pgfplots/every boxed z axis
},
/pgfplots/axis z line/left/.style ={
/pgfplots/axis z line*/left,
/pgfplots/every non boxed z axis
},
/pgfplots/axis z line/center/.code ={
\ifnum\pgfplots@xaxislinesnum=3 % if 'axis x line==top' then
\pgfkeysalso{%
/pgfplots/every axis z label/.style={at={(current axis.below origin)},anchor=south west}}%
\else
\pgfkeysalso{%
/pgfplots/every axis z label/.style={at={(current axis.above origin)},anchor=north west}}%
\fi
\pgfkeysalso{%
/pgfplots/axis z line*/center,
/pgfplots/every non boxed z axis}%
},
/pgfplots/axis z line/middle/.style ={/pgfplots/axis z line/center},
/pgfplots/axis z line/right/.code ={%
\ifnum\pgfplots@xaxislinesnum=2
\pgfkeysalso{every axis x label/.style={at={(current axis.left of origin)},anchor=south west}}%
\fi
\pgfkeysalso{
axis z line*/right,
%every axis y label/.style={at={(1,1)},anchor=north west,xshift=15pt},
every axis z label/.style={at={(1,0.5)},xshift=33pt,rotate=90},
/pgfplots/every non boxed z axis
}%
},%
/pgfplots/axis z line/none/.style ={axis z line*/none,hide z axis},
% set \pgfplots@xaxisdiscontnum
% none = 0
% crunch = 1
% open = 2
/pgfplots/axis x discontinuity/.is choice,
/pgfplots/axis x discontinuity/.belongs to family=/pgfplots, %/axis,
/pgfplots/axis x discontinuity/none/.code ={\def\pgfplots@xaxisdiscontnum{0}},
/pgfplots/axis x discontinuity/none/.belongs to family=/pgfplots, %/axis,
/pgfplots/axis x discontinuity/crunch/.code ={\def\pgfplots@xaxisdiscontnum{1}},
/pgfplots/axis x discontinuity/crunch/.belongs to family=/pgfplots, %/axis,
/pgfplots/axis x discontinuity/parallel/.code ={\def\pgfplots@xaxisdiscontnum{2}},
/pgfplots/axis x discontinuity/parallel/.belongs to family=/pgfplots, %/axis,
/pgfplots/axis x discontinuity=none,
% set \pgfplots@yaxisdiscontnum
% none = 0
% crunch = 1
% open = 2
/pgfplots/axis y discontinuity/.is choice,
/pgfplots/axis y discontinuity/.belongs to family=/pgfplots, %/axis,
/pgfplots/axis y discontinuity/none/.code ={\def\pgfplots@yaxisdiscontnum{0}},
/pgfplots/axis y discontinuity/none/.belongs to family=/pgfplots, %/axis,
/pgfplots/axis y discontinuity/crunch/.code ={\def\pgfplots@yaxisdiscontnum{1}},
/pgfplots/axis y discontinuity/crunch/.belongs to family=/pgfplots, %/axis,
/pgfplots/axis y discontinuity/parallel/.code ={\def\pgfplots@yaxisdiscontnum{2}},
/pgfplots/axis y discontinuity/parallel/.belongs to family=/pgfplots, %/axis,
/pgfplots/axis y discontinuity=none,
% set \pgfplots@yaxisdiscontnum
% none = 0
% crunch = 1
% open = 2
/pgfplots/axis z discontinuity/.is choice,
/pgfplots/axis z discontinuity/.belongs to family=/pgfplots, %/axis,
/pgfplots/axis z discontinuity/none/.code ={\def\pgfplots@zaxisdiscontnum{0}},
/pgfplots/axis z discontinuity/none/.belongs to family=/pgfplots, %/axis,
/pgfplots/axis z discontinuity/crunch/.code ={\def\pgfplots@zaxisdiscontnum{1}},
/pgfplots/axis z discontinuity/crunch/.belongs to family=/pgfplots, %/axis,
/pgfplots/axis z discontinuity/parallel/.code ={\def\pgfplots@zaxisdiscontnum{2}},
/pgfplots/axis z discontinuity/parallel/.belongs to family=/pgfplots, %/axis,
/pgfplots/axis z discontinuity=none,
/pgfplots/scale only axis/.is if=pgfplots@scale@only@axis,
/pgfplots/scale only axis/.default=true,
/pgfplots/scale only axis/.belongs to family=/pgfplots,
/pgfplots/scale only axis=false,
% sets \pgfplots@xislinear to
% normal=true
% log=false
/pgfplots/xmode/.is choice,
/pgfplots/xmode/.belongs to family=/pgfplots/scale,
/pgfplots/xmode/normal/.code={\pgfplots@xislineartrue},
/pgfplots/xmode/normal/.belongs to family=/pgfplots/scale,
/pgfplots/xmode/linear/.code={\pgfplots@xislineartrue},
/pgfplots/xmode/linear/.belongs to family=/pgfplots/scale,
/pgfplots/xmode/log/.code={\pgfplots@xislinearfalse},
/pgfplots/xmode/log/.belongs to family=/pgfplots/scale,
/pgfplots/xmode=linear,
/pgfplots/ymode/.is choice,
/pgfplots/ymode/.belongs to family=/pgfplots/scale,
/pgfplots/ymode/normal/.code={\pgfplots@yislineartrue},
/pgfplots/ymode/normal/.belongs to family=/pgfplots/scale,
/pgfplots/ymode/linear/.code={\pgfplots@yislineartrue},
/pgfplots/ymode/linear/.belongs to family=/pgfplots/scale,
/pgfplots/ymode/log/.code={\pgfplots@yislinearfalse},
/pgfplots/ymode/log/.belongs to family=/pgfplots/scale,
/pgfplots/ymode=linear,
/pgfplots/zmode/.is choice,
/pgfplots/zmode/.belongs to family=/pgfplots/scale,
/pgfplots/zmode/normal/.code={\pgfplots@zislineartrue},
/pgfplots/zmode/normal/.belongs to family=/pgfplots/scale,
/pgfplots/zmode/linear/.code={\pgfplots@zislineartrue},
/pgfplots/zmode/linear/.belongs to family=/pgfplots/scale,
/pgfplots/zmode/log/.code={\pgfplots@zislinearfalse},
/pgfplots/zmode/log/.belongs to family=/pgfplots/scale,
/pgfplots/zmode=linear,
/pgfplots/error bars/x fixed/.code= \def\pgfplots@errorbars@xfixed{#1}\def\pgfplots@errorbars@xmode{0},
/pgfplots/error bars/x fixed relative/.code= \def\pgfplots@errorbars@xrel{#1}\def\pgfplots@errorbars@xmode{1},
/pgfplots/error bars/x explicit/.code= \def\pgfplots@errorbars@xmode{2},
/pgfplots/error bars/x explicit relative/.code= \def\pgfplots@errorbars@xmode{3},
/pgfplots/error bars/x fixed relative=0,
/pgfplots/error bars/x fixed=0,
/pgfplots/error bars/y fixed/.code= \def\pgfplots@errorbars@yfixed{#1}\def\pgfplots@errorbars@ymode{0},
/pgfplots/error bars/y fixed relative/.code= \def\pgfplots@errorbars@yrel{#1}\def\pgfplots@errorbars@ymode{1},
/pgfplots/error bars/y explicit/.code= \def\pgfplots@errorbars@ymode{2},
/pgfplots/error bars/y explicit relative/.code= \def\pgfplots@errorbars@ymode{3},
/pgfplots/error bars/y fixed relative=0,
/pgfplots/error bars/y fixed=0,
/pgfplots/error bars/z fixed/.code= \def\pgfplots@errorbars@zfixed{#1}\def\pgfplots@errorbars@zmode{0},
/pgfplots/error bars/z fixed relative/.code= \def\pgfplots@errorbars@zrel{#1}\def\pgfplots@errorbars@zmode{1},
/pgfplots/error bars/z explicit/.code= \def\pgfplots@errorbars@zmode{2},
/pgfplots/error bars/z explicit relative/.code= \def\pgfplots@errorbars@zmode{3},
/pgfplots/error bars/z fixed relative=0,
/pgfplots/error bars/z fixed=0,
/pgfplots/error bars/x dir/.is choice,
/pgfplots/error bars/x dir/none/.code={%
\def\pgfplots@errorbars@xdirection{0}%
\ifnum\pgfplots@errorbars@ydirection=0
\ifnum\pgfplots@errorbars@zdirection=0
\pgfplots@errorbars@enabledfalse
\fi
\fi
},
/pgfplots/error bars/x dir/plus/.code= \def\pgfplots@errorbars@xdirection{1}\pgfplots@errorbars@enabledtrue,
/pgfplots/error bars/x dir/minus/.code= \def\pgfplots@errorbars@xdirection{2}\pgfplots@errorbars@enabledtrue,
/pgfplots/error bars/x dir/both/.code= \def\pgfplots@errorbars@xdirection{3}\pgfplots@errorbars@enabledtrue,
/pgfplots/error bars/x dir=none,
/pgfplots/error bars/y dir/.is choice,
/pgfplots/error bars/y dir/none/.code={%
\def\pgfplots@errorbars@ydirection{0}%
\ifnum\pgfplots@errorbars@xdirection=0
\ifnum\pgfplots@errorbars@zdirection=0
\pgfplots@errorbars@enabledfalse
\fi
\fi
},
/pgfplots/error bars/y dir/plus/.code= \def\pgfplots@errorbars@ydirection{1}\pgfplots@errorbars@enabledtrue,
/pgfplots/error bars/y dir/minus/.code= \def\pgfplots@errorbars@ydirection{2}\pgfplots@errorbars@enabledtrue,
/pgfplots/error bars/y dir/both/.code= \def\pgfplots@errorbars@ydirection{3}\pgfplots@errorbars@enabledtrue,
/pgfplots/error bars/y dir=none,
/pgfplots/error bars/z dir/.is choice,
/pgfplots/error bars/z dir/none/.code={%
\def\pgfplots@errorbars@zdirection{0}%
\ifnum\pgfplots@errorbars@xdirection=0
\ifnum\pgfplots@errorbars@ydirection=0
\pgfplots@errorbars@enabledfalse
\fi
\fi
},
/pgfplots/error bars/z dir/plus/.code= \def\pgfplots@errorbars@zdirection{1}\pgfplots@errorbars@enabledtrue,
/pgfplots/error bars/z dir/minus/.code= \def\pgfplots@errorbars@zdirection{2}\pgfplots@errorbars@enabledtrue,
/pgfplots/error bars/z dir/both/.code= \def\pgfplots@errorbars@zdirection{3}\pgfplots@errorbars@enabledtrue,
/pgfplots/error bars/z dir=none,
/pgfplots/error bars/error mark/.initial={-},
/pgfplots/error bars/error mark options/.initial={rotate=90},
/pgfplots/error bars/error bar style/.code={%
\pgfkeysalso{/pgfplots/every error bar/.append style={#1}}%
},
/pgfplots/every error bar/.style={thin},
/pgfplots/every error bar/.append code={\pgfplotsdeprecatedstylecheck{/tikz/every error bar}},
/pgfplots/error bars/draw error bar/.code 2 args={%
%\message{/pgfplots/error bars/draw error bar: working with '#1' -- '#2'.}%
\pgfkeysgetvalue{/pgfplots/error bars/error mark}{\pgfplotserrorbarsmark}%
\pgfkeysgetvalue{/pgfplots/error bars/error mark options}{\pgfplotserrorbarsmarkopts}%
\draw #1 -- #2 node[pos=1,sloped,allow upside down] {%
\expandafter\tikz\expandafter[\pgfplotserrorbarsmarkopts]{%
\expandafter\pgfuseplotmark\expandafter{\pgfplotserrorbarsmark}%
\pgfusepath{stroke}}%
};
},
/pgfplots/bar cycle list/.style={/pgfplots/cycle list={%
{blue,fill=blue!30!white,mark=none},%
{red,fill=red!30!white,mark=none},%
{brown!60!black,fill=brown!30!white,mark=none},%
{black,fill=gray,mark=none},%
}
},
/pgfplots/area cycle list/.style={bar cycle list},
/pgfplots/area legend/.style={%
/pgfplots/legend image code/.code={%
\draw[##1] (0cm,-0.1cm) rectangle (0.6cm,0.1cm);
}%
},
/pgfplots/area style/.style={%
area cycle list,
area legend,
axis on top,
},
/pgfplots/ybar/.style={
bar cycle list,
xtick align=outside,
/pgfplots/legend image code/.code={\draw[##1,bar width=3pt,yshift=-0.2em,bar shift=0pt] plot coordinates {(0cm,0.8em) (2*\pgfplotbarwidth,0.6em)};},
/pgf/bar shift={%
% total width = n*w + (n-1)*skip
% -> subtract half for centering
-0.5*(\numplots*\pgfplotbarwidth + (\numplots-1)*#1) +
% the '0.5*w' is for centering
(.5+\plotnum)*\pgfplotbarwidth + \plotnum*#1},%
/pgfplots/error bars/draw error bar/.code 2 args={%
% FIXME: simplify this code! It is just a replication of the default error stuff together with an xshift!
\pgfkeysgetvalue{/pgfplots/error bars/error mark}{\pgfplotserrorbarsmark}%
\pgfkeysgetvalue{/pgfplots/error bars/error mark options}{\pgfplotserrorbarsmarkopts}%
\draw[xshift={\pgfkeysvalueof{/pgf/bar shift}}]
##1 -- ##2 node[pos=1,sloped,allow upside down] {%
\expandafter\tikz\expandafter[\pgfplotserrorbarsmarkopts]{%
\expandafter\pgfuseplotmark\expandafter{\pgfplotserrorbarsmark}%
\pgfusepath{stroke}}%
};
},%
/tikz/ybar,
},
/pgfplots/ybar/.default=2pt,
/pgfplots/ybar/.belongs to family=/pgfplots,
/pgfplots/xbar/.style={
bar cycle list,
ytick align=outside,
/pgfplots/legend image code/.code={\draw[##1,bar width=3pt,yshift=-0.2em,bar shift=0pt] plot coordinates {(0cm,0.8em) (2*\pgfplotbarwidth,0.6em)};},
/pgf/bar shift={%
% total width = n*w + (n-1)*skip
% -> subtract half for centering
-0.5*(\numplots*\pgfplotbarwidth + (\numplots-1)*#1) +
% the '0.5*w' is for centering
(.5+\plotnum)*\pgfplotbarwidth + \plotnum*#1},%
/pgfplots/error bars/draw error bar/.code 2 args={%
% FIXME: simplify this code! It is just a replication of the default error stuff together with an xshift!
\pgfkeysgetvalue{/pgfplots/error bars/error mark}{\pgfplotserrorbarsmark}%
\pgfkeysgetvalue{/pgfplots/error bars/error mark options}{\pgfplotserrorbarsmarkopts}%
\draw[yshift={\pgfkeysvalueof{/pgf/bar shift}}]
##1 -- ##2 node[pos=1,sloped,allow upside down] {%
\expandafter\tikz\expandafter[\pgfplotserrorbarsmarkopts]{%
\expandafter\pgfuseplotmark\expandafter{\pgfplotserrorbarsmark}%
\pgfusepath{stroke}}%
};
},%
/tikz/xbar,
},
/pgfplots/xbar/.default=2pt,
/pgfplots/xbar/.belongs to family=/pgfplots,
/pgfplots/ybar interval/.style={%
bar cycle list,
x tick label as interval,
xmajorgrids,
xtick align=outside,
% xtick=data,
/pgfplots/legend image code/.code={\draw[##1,yshift=-0.2em,bar interval width=0.7,bar interval shift=0.5] plot coordinates {(0cm,0.8em) (5pt,0.6em) (10pt,0.6em)};},
bar interval width={#1/\numplots},
bar interval shift={(\plotnum+0.5)/\numplots},
/tikz/ybar interval,
},
/pgfplots/ybar interval/.default=1,
/pgfplots/ybar interval/.belongs to family=/pgfplots,
/pgfplots/xbar interval/.style={%
bar cycle list,
y tick label as interval,
% ytick=data,
ymajorgrids,
ytick align=outside,
/pgfplots/legend image code/.code={\draw[##1,yshift=-0.2em,bar interval width=0.7,bar interval shift=0.5] plot coordinates {(0cm,0.8em) (5pt,0.6em) (10pt,0.6em)};},
bar interval width={#1/\numplots},
bar interval shift={(\plotnum+0.5)/\numplots},
/tikz/xbar interval,
},
/pgfplots/xbar interval/.default=1,
/pgfplots/xbar interval/.belongs to family=/pgfplots,
/pgfplots/xbar stacked/.style={
bar cycle list,
stack plots=x,
stack dir=#1,
/tikz/xbar,
},
/pgfplots/xbar stacked/.default=plus,
/pgfplots/xbar stacked/.belongs to family=/pgfplots,
/pgfplots/ybar stacked/.style={
bar cycle list,
stack plots=y,
stack dir=#1,
/tikz/ybar,
},
/pgfplots/ybar stacked/.default=plus,
/pgfplots/ybar stacked/.belongs to family=/pgfplots,
/pgfplots/xbar interval stacked/.style={
bar cycle list,
stack plots=x,
stack dir=#1,
/tikz/xbar interval,
},
/pgfplots/xbar interval stacked/.default=plus,
/pgfplots/xbar interval stacked/.belongs to family=/pgfplots,
/pgfplots/ybar interval stacked/.style={
bar cycle list,
stack plots=y,
stack dir=#1,
/tikz/ybar interval,
},
/pgfplots/ybar interval stacked/.default=plus,
/pgfplots/ybar interval stacked/.belongs to family=/pgfplots,
/pgfplots/yticklabel interval boundaries/.style={%
y tick label as interval,
yticklabel={$\pgfmathprintnumber{\tick}$ -- $\pgfmathprintnumber{\nexttick}$}
},
/pgfplots/xticklabel interval boundaries/.style={%
x tick label as interval,
xticklabel={$\pgfmathprintnumber{\tick}$ -- $\pgfmathprintnumber{\nexttick}$}
},
/pgfplots/plot file/skip first/.is if=pgfplots@plot@file@skipfirst,
/pgfplots/plot file/skip first/.default=true,
/pgfplots/plot file/.unknown/.code={%
\let\pgfplots@table@curkeyname=\pgfkeyscurrentname
\pgfqkeys{/pgfplots}{\pgfplots@table@curkeyname=##1}%
},
/pgfplots/plot graphics/.code={\let\tikz@plot@handler=\pgfplotsplothandlergraphics},%
/pgfplots/plot graphics/src/.initial=,
/pgfplots/plot graphics/includegraphics/.initial=,
/pgfplots/plot graphics/xmin/.initial=,
/pgfplots/plot graphics/xmax/.initial=,
/pgfplots/plot graphics/ymin/.initial=,
/pgfplots/plot graphics/ymax/.initial=,
/pgfplots/plot graphics/zmin/.initial=,
/pgfplots/plot graphics/zmax/.initial=,
/pgfplots/plot graphics/node/.style={
transform shape,
inner sep=0pt,
outer sep=0pt,
every node/.style={},
anchor=south west,
at={(0pt,0pt)},
rectangle
},
/pgfplots/clip marker paths/.is if=pgfplots@clip@marker@paths,
/pgfplots/clip marker paths/.default=true,
/pgfplots/axis on top/.is if=pgfplots@axis@on@top,
/pgfplots/axis on top/.default=true,
/pgfplots/every crossref picture/.style={%
baseline,yshift=0.3em
},
/pgfplots/x coord trafo/.code={},
/pgfplots/x coord inv trafo/.code={},
/pgfplots/y coord trafo/.code={},
/pgfplots/y coord inv trafo/.code={},
/pgfplots/z coord trafo/.code={},
/pgfplots/z coord inv trafo/.code={},
% Set \pgfplots@perpointmeta@choice to
% 0: mi is not available/not used.
% 1: mi = xi
% 2: mi = yi
% 3: mi = zi
% 4: mi = given explicitly somehow
% 5: mi = given explicitly somehow AS SYMBOLIC CONSTANTS.
/pgfplots/point meta/.is choice,
/pgfplots/point meta/none/.code={
\def\pgfplots@perpointmeta@choice{0}%
\def\pgfplots@perpointmeta@arg{}%
},
/pgfplots/point meta/x/.code={
\def\pgfplots@perpointmeta@choice{1}%
\def\pgfplots@perpointmeta@arg{}%
},
/pgfplots/point meta/y/.code={
\def\pgfplots@perpointmeta@choice{2}%
\def\pgfplots@perpointmeta@arg{}%
},
/pgfplots/point meta/z/.code={
\def\pgfplots@perpointmeta@choice{3}%
\def\pgfplots@perpointmeta@arg{}%
},
/pgfplots/point meta/explicit/.code={
\def\pgfplots@perpointmeta@choice{4}%
\def\pgfplots@perpointmeta@arg{#1}%
},
/pgfplots/point meta/explicit symbolic/.code={
\def\pgfplots@perpointmeta@choice{5}%
\def\pgfplots@perpointmeta@arg{#1}%
},
/pgfplots/point meta/none,
/pgfplots/colormap name/.initial=hot,
/pgfplots/colormap/.code 2 args={
\pgfplotscreatecolormap{#1}{#2}%
\pgfkeysalso{/pgfplots/colormap name=#1}%
},
/pgfplots/colormap/hot/.style={
colormap name=hot
},
/pgfplots/colormap/bluered/.style={
/pgfplots/colormap={bluered}{rgb255(0cm)=(0,0,180); rgb255(1cm)=(0,255,255); rgb255(2cm)=(100,255,0); rgb255(3cm)=(255,255,0); rgb255(4cm)=(255,0,0); rgb255(5cm)=(128,0,0)}
},
/pgfplots/colormap/cool/.style={
/pgfplots/colormap={cool}{rgb255(0cm)=(255,255,255); rgb255(1cm)=(0,128,255); rgb255(2cm)=(255,0,255)}
},
/pgfplots/colormap/greenyellow/.style={
/pgfplots/colormap={greenyellow}{rgb255(0cm)=(0,128,0); rgb255(1cm)=(255,255,0)}
},
/pgfplots/colormap/redyellow/.style={
/pgfplots/colormap={redyellow}{rgb255(0cm)=(255,0,0); rgb255(1cm)=(255,255,0)}
},
/pgfplots/colormap/blackwhite/.style={
colormap={blackwhite}{gray(0cm)=(0); gray(1cm)=(1)}
},
/pgfplots/scatter/.is choice,
/pgfplots/scatter/false/.code={%
\pgfplots@scatterplotenabledfalse
},
/pgfplots/scatter/true/.code={%
\pgfplots@scatterplotenabledtrue
% make sure there is a mark set!
\pgfplots@gettikzinternal@keyval{mark}{tikz@plot@mark}{}%
\def\pgfplots@loc@TMPa{none}%
\ifx\tikz@plot@mark\pgfplots@loc@TMPa
% this here happens only in older versions of pgf.
\pgfqkeys{/tikz}{mark=*}%
\else
\ifx\tikz@plot@mark\pgfutil@empty
\pgfqkeys{/tikz}{mark=*}%
\fi
\fi
},
/pgfplots/scatter/.default=true,
/pgfplots/scatter src/.style={/pgfplots/point meta=#1},
/tikz/scatter/.style={/pgfplots/scatter=#1},
%
% ARGUMENTS: the macros
% - \pgfplotspointmeta
% - \pgfplotspointmetarange
% - \pgfplotspointmetatransformed
% - \pgfplotspointmetatransformedrange
% are set during @pre marker code and @post marker code.
% '#1' is empty.
/pgfplots/scatter/@pre marker code/.code={},
/pgfplots/scatter/@post marker code/.code={},
/pgfplots/scatter/use mapped color/.style={
/pgfplots/scatter/@pre marker code/.code={
\expandafter\pgfplotscolormapfind\expandafter[\pgfplotspointmetatransformedrange]
[1.0]
{\pgfplotspointmetatransformed}
{\pgfkeysvalueof{/pgfplots/colormap name}}
%\message{Color for current point is RGB '\pgfmathresult' (determined using meta 'phi(\pgfplotspointmeta) = \pgfplotspointmetatransformed')}%
\def\pgfplots@loc@TMPb{\definecolor{mapped color}{rgb}}%
\expandafter\pgfplots@loc@TMPb\expandafter{\pgfmathresult}%
\scope[#1]%
},
/pgfplots/scatter/@post marker code/.code={\endscope}
},
/pgfplots/scatter/use mapped color/.default={draw=mapped color!80!black,fill=mapped color},
/pgfplots/scatter/use mapped color,
% expect '#1 = {=