\begin{tikzpicture} \begin{scope}[scale=0.55] {\tiny \draw[step=1,help lines,color=black] grid (4,4); \node[anchor=north] (y2) at ([xshift=-3.3em,yshift=0em]n1.north) {0.01}; \node[anchor=north] (y1) at ([xshift=0em,yshift=-3.3em]y2.south) {0.00}; \node[anchor=north] (y3) at ([xshift=0em,yshift=4.5em]y2.north) {0.02}; \node[anchor=north] (y4) at ([xshift=0em,yshift=6.6em]y3.north) {$\vdots$}; \node[anchor=north] (y5) at ([xshift=0em,yshift=2em]y4.north) {1.00}; \node[anchor=north] (x1) at ([xshift=2em,yshift=-3em]n1.south) {$\lambda_1$}; \node[anchor=north] (x2) at ([xshift=4.5em,yshift=0em]x1.north) {$\lambda_2$}; \node[anchor=north] (x3) at ([xshift=4em,yshift=-1em]x2.north) {$...$}; \node[anchor=north] (x4) at ([xshift=5em,yshift=1em]x3.north) {$\lambda_{M-1}$}; \node[anchor=north] (x5) at ([xshift=5em,yshift=0em]x4.north) {$\lambda_M$}; \draw [-](n1) (0,4) -- (0,4.4); \draw [-](n2) (1,4) -- (1,4.4); \draw [-](n3) (2,4) -- (2,4.4); \draw [-](n4) (3,4) -- (3,4.4); \draw [-](n5) (4,4) -- (4,4.4); \draw[decorate,decoration={brace}](0,4.7) --(4,4.7) node [xshift=-4em,yshift=1.5em,align=center](label1) {M dimensions}; \draw[decorate,decoration={brace}](4.5,4.3) --(4.5,0) node [xshift=2.3em,yshift=5.8em,align=center](label2) {Values}; } \end{scope} \end{tikzpicture}