Rather than adding a second x axis by putting it on the other side of the plot I would like to add one implicitly simply by adding another row of tick labels to an existing axis. What I am after is something like the following mockup:

Using the idea in this answer I have tried to come up with something like this but there are some problems and maybe there is a better approach to the issue?

\documentclass{article}
\usepackage{pgfplots}
\pgfplotsset{
domain=0:1,
xmin=0, xmax=1,
ymax=1, ymin=0
}
\begin{document}
\begin{figure}
\begin{tikzpicture}
\begin{axis}[xtick align=inside,
extra x ticks={0.2, 0.4, ..., 0.8},
extra x tick labels={0.33, 0.33, 0.33, 0.33},
every extra x tick/.style={
xtick align=outside,
},
xlabel=\(x_1\),
after end axis/.code={
\node at (rel axis cs:1,0) [anchor=south west, align=left] {\(x_2\)};
}
]
\addplot{x};
\end{axis}
\end{tikzpicture}
\end{figure}
\end{document}
