I've got a two dimensional array with indices and a one dimensional array with characters. The following code draws the character indicated by the indices, e.g. The char at (0,0) would be "w", the char at (1,0) would be ldots and so on.
\documentclass[pdftex,twoside,a4paper,draft]{book}
% Tikz
\usepackage{tikz}
\usetikzlibrary{positioning, shapes, calc}
%
\begin{document}
\pagestyle{plain}
%
\begin{figure}
\begin{tikzpicture}[scale=1.0]
%character array (this works)
\def\mysymbols{{"w", "\ldots", "v", "w"}}
%
%character array with mathmode symbols in strings (this doesn't work: unknown operator '$')
%\def\mysymbols{{"$\approx$", "$\ddot{\ldots}$", "$\Upsilon$", "$\approx$"}}
%character array with mathmode symbols (this also doesn't work: unknown operator '7')
%\def\mysymbols{{$\approx$, $\ddot{\ldots}$, $\Upsilon$, $\approx$}}
%
%Array with indices
\def\myindices{{{0,1,0},{0,1,0},{2,2,0},{0,2,1}}}
%
\foreach \x in {0,...,2}{
\foreach \y in {0,...,2}{
%get symbol
\pgfmathparse{\mysymbols[\myindices[\y][\x]]}
%put a node at x,y with the symbol as the label
\node[] at ($(\x,\y)$) {\pgfmathresult};
}
}
\end{tikzpicture}
%
\end{figure}
%
\end{document}
Now, the problem I am having is this: I would like to use mathmode symbols, e.g. greek letters, within the character array. Is there any way to use mathmode symbols in tikz arrays?

pgfmathparseis intended to parse mathematical expressions, and store the result in\pgfmathresult, not to extract symbols. – Peter Grill Jul 16 '12 at 18:30