I have some trouble with the interval of the x tick labels. I have two much labels so the text overlap each other.
My code is following:
\begin{figure}
\begin{tikzpicture}
\begin{axis}[
width=0.8\linewidth,
xlabel={Anzahl der Prozessoren},
ylabel={Speedup},
domain = 1:4096,
xmin=1, xmax=4096,
ymin=0, ymax=30,
xmode = log,
log basis x={2},
xticklabel=\pgfmathparse{2^\tick}\pgfmathprintnumber{\pgfmathresult},
legend pos = north west
]
\addplot [black, very thick, dashed]{
1/((1-0.5) + 0.5/x)
};
\addplot [black, very thick, dotted]{
1/((1-0.8) + 0.8/x)
};
\addplot [black, very thick, loosely dotted]{
1/((1-0.9) + 0.9/x)
};
\addplot [black, very thick, solid]{
1/((1-0.95) + 0.95/x)
};;
\legend{%
P = 50\%,
P = 80\%,
P = 90\%,
P = 95\%,
}
\end{axis}
\end{tikzpicture}
\caption{Speedup nach Amdahla'sches Gesetz}
\label[figure]{fig:amdahls_law_speedup}
\end{figure}
Here is a result of it:

The ticks should automatically decrease if the interval is to close, shouldn't it? If the interval is decreased, will the accuracy of the plot worse?


\documentclass) that reproduces the problem. – Jake Sep 05 '14 at 17:33