- This question is about a 3D coordinate system in
pgfplots. - Problem 1: I want to have the
xlabelon the "other side" (triedx dir = reverse,already). - Problem 2: This is less important (nice to have). I want to have the perspective as in my hand drawing (a perfect cross: y and z, and the 3rd dimension, depth, is indicated by a 45 degree line: x), see "Remark" in the hand drawing. Additional Remark: In the hand drawing I use different labels (this is a typical automotive coordinate system). But I can fake that by just naming the
xlabel"y"and so on.
\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
width = 80mm,
height = 80mm,
axis lines = center,
no marks,
axis line style = {latex-latex, ultra thick}, %
unit vector ratio = 1 1 1,
ticks = none,
xmin = -1,
xmax = 1,
ymin = -1,
ymax = 1,
zmin = -1,
zmax = 1,
xlabel = $x$,
ylabel = $y$,
zlabel = $z$,
]
% No plot
\end{axis}
\end{tikzpicture}
\end{document}



every axis x label/.show codewhich for me givesnear ticklabel align=inside,at={(ticklabel* cs:1)}, anchor=near ticklabel opposite}– Andrew Swann Nov 09 '22 at 17:14