summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pgfplots/pgfplots.reference.miscellaneous.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/pgfplots/pgfplots.reference.miscellaneous.tex')
-rw-r--r--Master/texmf-dist/doc/latex/pgfplots/pgfplots.reference.miscellaneous.tex14
1 files changed, 12 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/pgfplots/pgfplots.reference.miscellaneous.tex b/Master/texmf-dist/doc/latex/pgfplots/pgfplots.reference.miscellaneous.tex
index 63ce93068d6..6ce239cd815 100644
--- a/Master/texmf-dist/doc/latex/pgfplots/pgfplots.reference.miscellaneous.tex
+++ b/Master/texmf-dist/doc/latex/pgfplots/pgfplots.reference.miscellaneous.tex
@@ -22,7 +22,7 @@ The \textbf{effect} of the transformation is that your plot coordinates can be o
The option ``|disabledatascaling|'' disables this data transformation. This has two consequences: first, coordinate expressions like \parg{{\normalfont\texttt{axis cs:}}x,y} have the same effect as \parg{x,y}, no re-scaling is applied. Second, coordinates are restricted to what \TeX\ can handle\footnote{Please note that the axis' scaling requires to compute $1/( x_\text{max} - x_{\text{min}} )$. The option \protect\pgfmanualpdfref{disabledatascaling}{\texttt{disabledatascaling}} may lead to overflow or underflow in this context, so use it with care! Normally, the data scale transformation avoids this problem.}.
-So far, the data scale transformation applies only to normal axis (logarithmic scales do not need it).
+So far, the data scale transformation applies only to normal axes (logarithmic scales do not need it).
\end{pgfplotskey}
@@ -36,6 +36,16 @@ You may use this in conjunction with |x filter=...| to reset any counters or wha
This axis option allows to invoke \meta{commands} after each |\addplot| command. The argument \meta{commands} can be any \TeX\ content.
\end{pgfplotskey}
+\begin{pgfplotskey}{execute at begin axis=\marg{commands}}
+ Allows to invoke \meta{commands} at the end of |\begin{axis}| (or the other ``begin axis'' statements).
+
+ The statement is execute as (almost) last statement before the preparation has been completed.
+\end{pgfplotskey}
+
+\begin{pgfplotskey}{execute at end axis=\marg{commands}}
+ The counterpart for |execute at begin axis|. The hook is actually superfluos, it is executed immediately after |before end axis|. It is executed in the same \TeX\ group as |execute at begin axis|.
+\end{pgfplotskey}
+
\begin{pgfplotskey}{execute at begin plot visualization=\marg{commands}}
Allows to add customized code which is executed at the beginning of each plot visualization. In contrast to |execute at begin plot|, this happens not immediately during |\addplot|, but late during the postprocessing of |\end{axis}| when actual drawing commands are generated.
@@ -139,7 +149,7 @@ This is the counter--part of |execute at begin plot visualization|.
\end{pgfplotskey}
\begin{pgfplotscodekey}{before end axis}
-Allows to insert \meta{commands} just before the axis is ended. This option takes effect inside of the clipped area.
+Allows to insert \meta{commands} just before the axis is ended (see also |execute at end axis|). This option takes effect inside of the clipped area.
\begin{codeexample}[]
\pgfplotsset{every axis/.append style={
before end axis/.code={