So I'm trying to draw a circle in a nonstandard plane with TikZ, but can't seem to find any documentation. I originally tried what was found here: Drawing a circle on a non xy-plane with TikZ But this doesn't answer my question as this just changes from one plane to another. Is there any way to construct a 'new plane' to put the circle on?
For example. Say I have 2 vertices (-1,1,3) and (1, -2, 7) which don't live on neither the xy, yz, nor xz planes and I want to construct a circle that is centered at the origin (0,0,0) but on the plane that is constructed by those two points and the origin. (Say with radius 1cm for arbitrary sake)
Is there any way to do this with tikz or are my planes only allowed to live on a canvas?
Notes: I would prefer tikz rather than ps as I do everything else with tikz and this image needs to live inside of a tikz image that is already constructed.
Additionally, here are the libraries I have included:
\usepackage{tikz, tikz-3dplot, pgfplots}
\usetikzlibrary{fit}
But am willing to add additional libraries as needed. Thanks.
Minimal example
\documentclass[12pt]{article}
\usepackage{tikz, tikz-3dplot, pgfplots}
\usetikzlibrary{fit}
\begin{document}
\tdplotsetmaincoords{0}{0}
\begin{tikzpicture}%
%% Coordinate of the vertices:
%%
\coordinate (one) at (-3, -1, 2);
\coordinate (two) at (-3, -2, 1);
%% Planes
\coordinate (O) at (0,0,0);
\coordinate (x) at (1,0,0);
\coordinate (y) at (0,1,0);
\coordinate (z) at (0,0,1);
%% Axes
\draw[->] (O) -- (x) node [right] {$x$};
\draw[->] (O) -- (y) node [right] {$y$};
\draw[->] (O) -- (z) node [right] {$z$};
%% Want a circle on the plane which contains the following two vectors.
\draw[->,thick] (O) -- (one);
\draw[->,thick] (O) -- (two);
\end{tikzpicture}
\end{document}