Ich möchte das Symbol, das die X-Achse multipliziert, manuell definieren. Wie mache ich das?
Als Beispiel: Statt der wissenschaftlichen Notation $\cdot 10^2$ hätte ich gerne $\cdot \Delta_x$.
Antwort1
Angenommen, Sie sprechen tatsächlich von pgfplots
(das auf TikZ basiert, aber nicht dasselbe wie TikZ ist), benötigen Sie xtick scale label code/.code={$\cdot \Delta_{x}$}
.
\documentclass[border=5mm]{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
domain=0:1e9,samples=2,
xtick scale label code/.code={$\cdot \Delta_{x}$}
]
\addplot {1};
\end{axis}
\end{tikzpicture}
\end{document}
Oder Sie können solche Beschriftungen deaktivieren und einen Knoten manuell platzieren:
\documentclass[border=5mm]{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
domain=0:1e9,samples=2,
xtick scale label code/.code={},
name=ax
]
\addplot {1};
\end{axis}
\node [below left] at (ax.outer south east) {$\cdot \Delta_{x}$};
\end{tikzpicture}
\end{document}