diff options
author | Karl Berry <karl@freefriends.org> | 2008-06-15 17:56:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-06-15 17:56:37 +0000 |
commit | 3f126e90ac9efa15e72c8b415a2f25d3b19c509a (patch) | |
tree | 3fb6f3eebbf51978c31e8d6ff1180432e50b9935 /Master/texmf-dist/doc/generic/pgfplots/test/pgfplotstest/pgfplotstest.gridtick.tex | |
parent | 9667a29e9fef0ef89c9d7bd311e2d2a6aaccf50c (diff) |
painful pgfplots update (14jun08)
git-svn-id: svn://tug.org/texlive/trunk@8751 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgfplots/test/pgfplotstest/pgfplotstest.gridtick.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pgfplots/test/pgfplotstest/pgfplotstest.gridtick.tex | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pgfplots/test/pgfplotstest/pgfplotstest.gridtick.tex b/Master/texmf-dist/doc/generic/pgfplots/test/pgfplotstest/pgfplotstest.gridtick.tex new file mode 100644 index 00000000000..6ca72bc32e1 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pgfplots/test/pgfplotstest/pgfplotstest.gridtick.tex @@ -0,0 +1,84 @@ +\testfile{pgfplotstest.gridtick.tex} +\testsection{Grid lines test} +\begin{tikzpicture} + \begin{axis}[xmajorgrids] + \smallplotstest + \end{axis} +\end{tikzpicture} + +\begin{tikzpicture} + \begin{axis}[ymajorgrids,xmajorgrids] + \smallplotstest + \end{axis} +\end{tikzpicture} + +\begin{tikzpicture} + \begin{loglogaxis}[ymajorgrids,xmajorgrids] + \loglogtestplot + \end{loglogaxis} +\end{tikzpicture} + +\begin{tikzpicture} + \begin{loglogaxis}[grid=both] + \loglogtestplot + \end{loglogaxis} +\end{tikzpicture} + +{ +\pgfplotsset{every major tick/.append style={color=black,thick}} +\begin{tikzpicture} + \begin{loglogaxis}[grid=major] + \loglogtestplot + \end{loglogaxis} +\end{tikzpicture} + +\pgfplotsset{every minor tick/.append style={color=black,thick}} +\begin{tikzpicture} + \begin{loglogaxis}[grid=both] + \loglogtestplot + \end{loglogaxis} +\end{tikzpicture} +} + +\testsection{Tick lines test} +\begin{tikzpicture} + \begin{loglogaxis}[xmajorticks=false,xminorticks=true] + \loglogtestplot + \end{loglogaxis} +\end{tikzpicture} + +\begin{tikzpicture} + \begin{loglogaxis}[ymajorticks=false,yminorticks=false] + \loglogtestplot + \end{loglogaxis} +\end{tikzpicture} + +\begin{tikzpicture} + \begin{loglogaxis}[ticks=none] + \loglogtestplot + \end{loglogaxis} +\end{tikzpicture} + +\begin{tikzpicture} + \begin{loglogaxis}[ticks=major] + \loglogtestplot + \end{loglogaxis} +\end{tikzpicture} + +\testsection{TikZ-coordinate system ``axis''} +\begin{tikzpicture} +\begin{axis} +\smallplotstest +\axispath\draw (axis cs:0.5,0.6) -- (axis cs:-1,0); +\end{axis} +\end{tikzpicture} + +\begin{tikzpicture} + \begin{loglogaxis} + \axispath\draw + (axis cs:18943,2.873391e-05) |- (axis cs:47103,8.437499e-06); + \loglogtestplot + \end{loglogaxis} +\end{tikzpicture} + + |