You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\documentclass[border=5pt]{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
minor tick num=4,
enlarge x limits={
abs=0.20, % <-- minor ticks larger than last major tick are not drawn% abs=0.25, % <-- minor ticks larger than last major tick are drawn
},
]
\addplot table {
x y
0.0 100
1.5 10
};
\end{axis}
\end{tikzpicture}
\end{document}
This was not the case in version 1.14.
The text was updated successfully, but these errors were encountered:
This issue was introduced with the changes in b3e65b9 to fix #165.
The minor ticks between the last major tick and the end of the axis are missing if the distance between the last major tick and the end of the axis is less than half of the space between two major ticks. E.g. with xmax = 1.75 the minor ticks appear at the end of the axis in the above example. With xmax = 1.74 the minor ticks are missing.
Migrated from SourceForge
https://sourceforge.net/p/pgfplots/bugs/180/
Author: lbaeni
Timestamp: 2017-08-13 21:57:14.278000
This report refers to https://tex.stackexchange.com/questions/386155/pgfplots-missing-minor-ticks-at-the-end-of-axes/
In version 1.15, minor ticks are not drawn to the end of the axis but stop at the last major tick.
In the following MWE the minor ticks stop at last major tick (at
x=1.5
and aty=100
).This was not the case in version 1.14.
The text was updated successfully, but these errors were encountered: