I'm trying to draw some points with TikZ.
I'm using this code:
\begin{tikzpicture}[scale=0.5]
\draw (4.0,2.4492) -- (4.8984,-4.0);
\draw (4.0,2.4492) -- (-4.0,-7.347);
\draw (4.0,2.4492) -- (-9.796,4.0);
\draw (4.8984,-4.0) -- (-4.0,-7.347);
\draw (4.8984,-4.0) -- (-9.796,4.0);
\draw (-4.0,-7.347) -- (-9.796,4.0);
\end{tikzpicture}
I'm generated this code with a Python program using OpenGL. In my render all this are done perfectly: a perfect square with diagonals, but in latex with TikZ I'm getting the first point of the square not aligned (sorry i can't post images yet). Some helps?
Added an image for you (with grid and origin marked):
