Issue
- I use
x dir = reverseto reverse the direction of the x-axis (arrow points to the left). - Is there an easy way to also move the x label to the "correct" position (mirrored regarding the y-axis compared to the "normal" case)?
\documentclass{article}
\usepackage{pgfplots}
\begin{document}
% http://pgfplots.sourceforge.net/gallery.html
\begin{tikzpicture}
\begin{axis}[
axis lines = middle,
xlabel = {x label},
ylabel = {y label},
x dir = reverse, % <-- Important
]
% use TeX as calculator:
\addplot {x^2 - x +4};
\end{axis}
\end{tikzpicture}
\end{document}

