summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pgfplots/pgfplots.basic.reference.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-07-16 23:47:14 +0000
committerKarl Berry <karl@freefriends.org>2010-07-16 23:47:14 +0000
commit0c242425bcb89cc3af3064b8b895608a7f5ec3bb (patch)
treec9e2e2a0cd90b875325b6ef0cc06edada1b5f4ec /Master/texmf-dist/doc/latex/pgfplots/pgfplots.basic.reference.tex
parenta77f52d8c904326838bc0523faffdc79bdff0f6e (diff)
pgfplots 1.4 (14jul10)
git-svn-id: svn://tug.org/texlive/trunk@19488 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/pgfplots/pgfplots.basic.reference.tex')
-rw-r--r--Master/texmf-dist/doc/latex/pgfplots/pgfplots.basic.reference.tex11
1 files changed, 9 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/pgfplots/pgfplots.basic.reference.tex b/Master/texmf-dist/doc/latex/pgfplots/pgfplots.basic.reference.tex
index bb705ef1831..a51bcaed5b8 100644
--- a/Master/texmf-dist/doc/latex/pgfplots/pgfplots.basic.reference.tex
+++ b/Master/texmf-dist/doc/latex/pgfplots/pgfplots.basic.reference.tex
@@ -127,12 +127,19 @@ Generates pretty--printed output\footnote{This method was previously \texttt{\te
The number is printed using the current number printing options, see the manual of \PGFPlotstable\ which comes with this package for the different number styles, rounding precision and rounding methods.
\end{command}
+\begin{command}{\numplots}
+ Inside of any of the axis environments, associated style, option or command, |\numplots| expands to the total number of plots.
+\end{command}
+\begin{command}{\numplotsofactualtype}
+ Like |\numplots|, this macro returns the total number of plots which have the same plot handler. Thus, if you have |sharp plot| active, it returns the number of all |sharp plots|. If you have |ybar| active, it returns the number of |ybar| plots and so on.
+\end{command}
+
\begin{command}{\plotnum}
Inside of |\addplot| or any associated style, option or command, |\plotnum| expands to the current plot's number, starting with~$0$.
\end{command}
-\begin{command}{\numplots}
- Inside of any of the axis environments, associated style, option or command, |\numplots| expands to the total number of plots.
+\begin{command}{\plotnumofactualtype}
+ Like |\plotnum|, but it returns the number among all plots of the same type (see |\numplotsofactualtype|).
\end{command}
\begin{command}{\coordindex}