3

I am looking for an efficient way to my a diagram like the one below with TikZ. I have looked in the manual and searched for other questions but could not find something that helped me. Any help on this topic is very welcome. Thanks everyone.

enter image description here

JPi
  • 13,595
  • and what you try so far? – Zarko Jun 18 '17 at 20:19
  • so far I used the \draw command to do the rectangles. But they get overlayed in the wrong order and I do not know how to change the position of the text inside. – Gustavo Amarante Jun 18 '17 at 20:27
  • 1
    Please add a minimal working example (MWE) of you've tried so far. – CarLaTeX Jun 18 '17 at 20:30
  • You could define different boxes(block1, block2,...) with \tikzset{block/.style={ rectangle, draw=blue!100, fill=blue!70, rounded corners=15pt, minimum height=10em, minimum width=20em, ... }} 2. Positioning with \node[block] (A) at (0,0) {}; 3. Text inside: \node[below] at (A.north) {Real}; . Related links-> An example for defining a box you can find here and for tikzset here.
  • – Bobyandbob Jun 18 '17 at 21:05
  • Tikz draws in the order you give the commands, i.e. back to front. If you have a simple overlap problem, just re-arrange your code to reflect the levels. That is, \draw first level, \draw second level and so on. – Huang_d Jun 18 '17 at 21:24