DE signals plot

RAW | PDF

% Title    : DE signals plot
% Author   : George Ungureanu
% Category : plot
\documentclass{standalone}
\usepackage[plot,tikz]{forsyde}
\usepackage{filecontents}
  \begin{filecontents}{de-input1.flx}
   1:0, 2:2, 3:3, 4:6, 5:8, 5:15
  \end{filecontents}
  % ...
\begin{document}
\begin{tikzpicture}[]
  \begin{signalsDE}[name=n, grid and time=3]{10}
    \signalDE [trunc]{2.0:0, -2.0:3, 3.0002:5, -3:8, 5:15}
    \signalDE*[last label=false]{de-input1.flx}
    \signalDE {$\epsilon$:0, 1.0002:4, $\lambda$:6, 2.0:7, 5:15}
  \end{signalsDE}
  \foreach \i in {1,2,3} {
    \node[anch] (a) at (n.e\i) {}; \node[label, anchor=west] (l) at (a.east) {\texttt{n.e\i}};
    \node[anch] (a) at (n.w\i) {}; \node[label, anchor=east] (l) at (a.west) {\texttt{n.w\i}};
  }
\end{tikzpicture}
\end{document}