Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm wondering if its possible to use calculated coordinates inside the function plot, somehow like this:

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{calc, positioning}


\begin{document}
\begin{tikzpicture}

\node (ea) at (20,10em) {$e_a$};
\draw plot coordinates{($(ea.north east) + (15,12)$) (0,0)};

\end{tikzpicture}
\end{document}

Or if I need to use something like:

\coordinate (test) at ($(ea.north east) + (15,12)$);
\draw plot coordinates{(test) (0,0)};
share|improve this question
1  
Did you try your example? I had no problems with it, so the apparent answer to your question is "yes". –  JLDiaz Dec 10 '12 at 9:59
    
I have no problem compiling the example with the latest version of tikz. –  m0nhawk Dec 10 '12 at 10:01
    
Yes I did try my example and now retrying it worked. Maybe I did some syntax mistake yesterday night and could not see due to fatigue. Thanks for the help! –  Ronan Dec 10 '12 at 10:23
1  
I think you need a proper welcome. Welcome to TeX.sx! –  hpesoj626 Dec 10 '12 at 11:07
add comment

closed as too localized by JLDiaz, Andrew Stacey, Jake, lockstep, cgnieder Dec 10 '12 at 11:29

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.