How draw a matrix with coordinates using tikz - Latex?

Viewed 627

I would like to draw a matrix of one line et multiples columns with specifics coordinates (3.75, 0.5). Here my figure with tikz :

enter image description here

Here, the result I'm trying to get, but forget the colors:

enter image description here

I tried this, but it doesn't work:

\begin{figure}[h!]
  \begin{tikzpicture}
    \matrix (m1) at (3.75, 0.5) { \node{Cpt: & 0 & 1 & 2 & 1 & 0}; \\ };
  \end{tikzpicture}
\end{figure}

Thanks in advance !

0 Answers
Related