my xticks disappear for some plots even though I explicitly ask for them. Here is my MWE. The function goes to -infinity at the right border of the interval.
\documentclass{article}\usepackage{pgfplots}\begin{document} \begin{tikzpicture}[domain=0:1] \begin{semilogyaxis}[xtick={0,0.5,1}] \addplot[mark=none,samples=300] {x - 1/(4 - 4*x) + 5/4}; \end{semilogyaxis} \end{tikzpicture}\end{document}
How do I get them back? A general idea how to deal with the plotting of divergent functions would be great.