ex_positions.tex 914 B

123456789101112131415161718192021222324252627282930
  1. \begin{tikzpicture}[>=latex, node distance=1cm, on grid, auto]
  2. \tikzstyle{node}=[fill=white, text centered]
  3. % \begin{scope}
  4. \node [node] (f) {$f$};
  5. \path (f)+(-0.6,-1) node (x) [node] {$x$};
  6. \path (f)+(0.6,-1) node (g) [node] {$g$};
  7. \path (g)+(0.0,-1) node (a) [node] {$a$};
  8. \node (pf) [right of=f] {$\omega = \epsilon$};
  9. \node (px) [left of=x] {$\omega = 1$};
  10. \node (pg) [right of=g] {$\omega = 2$};
  11. \node (pa) [right of=a] {$\omega = 21$};
  12. %\path (g)+(0.7,-1) node (z) [node] {$z$};
  13. % \end{scope}
  14. % Draw arrows between elements
  15. \path [draw, -] (f.south)+(-0.2,0.0) -- node [above] {} (x);
  16. \path [draw, -] (f.south)+(0.2,0.0) -- node [above] {} (g);
  17. \path [draw, -] (g.south)+(0.0,0.0)-- node [above] {} (a);
  18. %\path [draw, -] (g.south)+(0.2,0.0)-- node [above] {} (z);
  19. \end{tikzpicture}
  20. %\caption{}
  21. %
  22. %f(x,g(y,z))
  23. %
  24. % f
  25. % / \
  26. %x g
  27. % / \
  28. % y z