The ticks are sticking close to each other, almost overlapping. How to change the ticks from $2.5\cdot 10^{-2}$ to just $0.025$ without changing the dimensions of the diagram ?
\begin{tikzpicture}
\pgfplotsset{width={.5\textwidth},height={6 cm}}
\begin{axis}[ylabel={$\ln (I/I_0)$},
grid=major,
legend style={ legend pos= north east,},
xtick distance= .025,
]
\addplot[red, mark=square, only marks,]coordinates{
(0., 0.) (0.025, -0.842) (0.05, -1.671) (0.075, -2.217) (0.1, -2.823)};
\legend{$\theta = 11.0^\circ$; $\lambda = 0.77$ pm}
\end{axis}
\end{tikzpicture}



yticklabel style={/pgf/number format/fixed}but precision is reduced, so I get 0.03 instead of 0.025, any fix ? – Physor Dec 12 '21 at 11:55/pgf/number format/precision=3– hpekristiansen Dec 12 '21 at 11:55xticklabel style={/pgf/number format/fixed, /pgf/number format/precision=3}. – Jasper Habicht Dec 12 '21 at 12:00