我不明白为什么编译时我只能看到前几个刻度,却看不到第一个刻度……
\documentclass[]{article}
\usepackage{tikz,pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[%
axis y line = middle,
axis x line = none,
ymin = 7000, ymax = 8000,
ytick={7065.77,7066.14,7081,7083.23,7092.96,7100.4,7100.94,7104.89,7105.5,7106,7107.89,7110.7,7110.75,7112.65,7116.38,7120.29,7121.44,7140.67,7151.67,7248.18,7111,7113,7140},
yticklabels={7065.77,7066.14,7081,7083.23,7092.96,7100.4,7100.94,7104.89,7105.5,7106,7107.89,7110.7,7110.75,7112.65,7116.38,7120.29,7121.44,7140.67,7151.67,7248.18,7111,7113,7140}
]
\end{axis}
\end{tikzpicture}
\end{document}