I'm trying to draw a line in the x-y-plane and circles in the y-z-plane at constant x position.
Problem is, that the circle is far out of position (x-coordinate of center point of the circle is exactly the x-coordinate of the end of the line drawn from origin, but the circle is drawn elsewhere).
MWE:
\documentclass{standalone}
\usepackage{tikz}
%\usepackage{tikz-3dplot}
\usetikzlibrary{arrows,3d}
% see http://tex.stackexchange.com/a/48776/70600
\makeatletter
\tikzoption{canvas is xy plane at z}[]{%
\def\tikz@plane@origin{\pgfpointxyz{0}{0}{#1}}%
\def\tikz@plane@x{\pgfpointxyz{1}{0}{#1}}%
\def\tikz@plane@y{\pgfpointxyz{0}{1}{#1}}%
\tikz@canvas@is@plane
}
\makeatother
% Drawing Views
\tikzstyle{trimetric}=[x={(0.926cm,-0.207cm)},y={(0cm,0.837cm)},z={(-0.378cm,-0.507cm)}]
\begin{document}
\begin{tikzpicture}[trimetric, scale=0.1]
\draw[dashed] (-1, 0, 0) -- (1, 0, 0);
\draw[dashed] (0, -1, 0) -- (0, 1, 0);
\draw[dashed] (0, 0, -1) -- (0, 0, 1);
\coordinate (O) at (0, 0, 0);
\draw[-latex] (O) -- +(10, 0, 0) node [right] {$x$};
\draw[-latex] (O) -- +(0, 10, 0) node [left] {$y$};
\draw[-latex] (O) -- +(0, 0, 10 ) node [above] {$z$};
\begin{scope}[canvas is yz plane at x=120.0pt]
\filldraw circle (.01); % center point
\draw circle (91.62pt); % radius
\end{scope}
\begin{scope}[canvas is xy plane at z=0]
\draw[] (0.0pt, 0.0pt) -- (120.0pt, 120.0pt);
\end{scope}
\end{tikzpicture}
\end{document}
Result:


canvas is yz plane at x=120.0ptdoesn't fit the x-position of the end of the line drawn from origin\draw[] (0.0pt, 0.0pt) -- (120.0pt, 120.0pt)– user3116388 Feb 25 '15 at 11:30cmandptconversion.1cm=28.4pt. – Feb 25 '15 at 11:53canvas is yz plane at x=120.0ptis inptand line coordinates\draw[] (0.0pt, 0.0pt) -- (120.0pt, 120.0pt)are inpttoo. If I write it like thiscanvas is yz plane at x=120.0pt/28.4then the circle is drawn correct. But why doesn't Tikz recognize theptscaling? – user3116388 Feb 25 '15 at 12:04