blob: 6ca72bc32e164a8f8e040179bf151160070967ae (
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
|
\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}
|