How to draw something like this?

enter image description here


One option using TikZ:



#1 \\ #2 \\#3


  (0,0) -- (5,0) node[below right] {$\scriptstyle t$};
\foreach \Xc in {0,...,4}
    (\Xc,0) -- ++(0,5pt) node[above] {$\scriptstyle \Xc$};
\foreach \Xc/\Texto in {1/Load,2/Escape,3/Shoot}
      rectangle node[above] {\strut\small\Texto} 
\node[below,align=left,anchor=north,inner xsep=0pt,color=myred] 
  at (0,0) 
  {\myent{a}{\neg l}{\neg h}};  
\node[below,align=left,anchor=north,inner xsep=0pt] 
  at (1,0) 
\node[below,align=left,anchor=north,inner xsep=0pt] 
  at (2,0) 
\node[below,align=left,anchor=north,inner xsep=0pt] 
  at (3,0) 
\node[below,align=left,anchor=north,inner xsep=0pt] 
  at (4,0) 
  {\myent{a?}{\color{myred}\neg l\ast}{h?}};  


The result:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.