![Зеркальная ось X-pgfplot](https://rvso.com/image/335475/%D0%97%D0%B5%D1%80%D0%BA%D0%B0%D0%BB%D1%8C%D0%BD%D0%B0%D1%8F%20%D0%BE%D1%81%D1%8C%20X-pgfplot.png)
решение1
Например, можно использовать x post scale=-1
для второй оси. Чтобы убрать любой зазор между ними, установите местоположение второй оси на south east
якорь первой, а ее якорь установите на south west
. x axis line style={-}
добавленопосле axis lines
/ axis x line
удалит наконечник стрелы.
Чтобы разместить метку x посередине, проще всего добавить \node
после axis
окружения, поместив ее под south east
углом первой оси.
\documentclass[border=4mm]{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\pgfplotsset{every outer x axis line/.style={-}}
\begin{axis}[
name=ax1,
axis lines=left,
x axis line style={-}]
\addplot{x};
\end{axis}
\begin{axis}[
axis x line=bottom,
axis y line=right,
x axis line style={-},
x post scale=-1,
at={(ax1.south east)},
anchor=south west]
\addplot{x};
\end{axis}
\node [below=1cm] at (ax1.south east) {Common xlabel};
\end{tikzpicture}
\end{document}