objsimschema.tex 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. %\documentclass[english,onecolumn,final]{svjour2}
  2. \documentclass{article}
  3. \usepackage{graphicx}
  4. \usepackage{tikz}
  5. \usepackage{pgflibraryshapes}
  6. \usetikzlibrary {shapes}
  7. \usepackage{calc}
  8. \usepackage{color}
  9. \definecolor{invisible}{gray}{1.0}
  10. \definecolor{green}{rgb}{0.0,1.0,0.0}
  11. %\input{commands.tex}
  12. %define counters
  13. \newcounter{mynum}
  14. %\renewcommand\normalsize{\fontsize{20pt}{20pt}\selectfont}
  15. \setlength{\textwidth}{20cm}
  16. \setlength{\textheight}{30cm}
  17. \pagenumbering{arabic} % but no page numbers are printed because:
  18. \pagestyle{empty} % this is actually already in the kernel
  19. \newcommand{\MainDocDir}{..}
  20. \begin{document}
  21. \newcommand{\texpic}{
  22. \begin{tikzpicture}
  23. \draw (0,0) node (gui) [shape=rectangle,draw, minimum width=2cm, minimum height=1cm] {GUI (tcl/tk)} ;
  24. \draw (gui.south) ++(-3,-1) node (sh) [shape=rectangle,draw,anchor=north] {\parbox{2cm}{\center start/stop\\ (sh)}};
  25. \draw[-latex] (gui) -- (sh) ;
  26. \draw (sh.south) ++(0,-1) node (sim) [shape=rectangle,draw,anchor=north] {\parbox{2cm}{\center simulation \\ (c++)}};
  27. \draw[-latex] (sh)--(sim);
  28. \draw (sim.east) ++(0.5,0) node (data) [shape=rectangle,draw,anchor=west] {\parbox{3cm}{\center simulation data\\(\$HOME/data/...)}} ;
  29. \draw[-latex] (sim)--(data);
  30. \draw (data.east) ++(0.5,0) node (vis) [shape=rectangle,draw,anchor=west] {\parbox{2cm}{\center visalization\\(IDL)}} ;
  31. \draw[-latex] (data)--(vis);
  32. \draw[-latex] (gui)--(vis);
  33. \draw[-latex,dashed] (sim) .. controls +(40:3cm) and +(0,-1) .. (gui);
  34. \end{tikzpicture}
  35. }
  36. \color{invisible}
  37. .\\
  38. .
  39. \color{black}
  40. \texpic
  41. \color{invisible}
  42. .
  43. \end{document}