I would like to do the following graphic in tikz. But I do not konw how to proceed...
How could I do that?
EDIT
So far, I have tried simpler things (before getting to this bigger problem). I have tried this for example, but I know that there are certain elements that I do not handle in the right way (like the $\times$ to do crosses...).
\begin{tikzpicture}
\foreach \x in {1,2,3,4} {
\foreach \y in {1,2,3,4} {
\path[draw, thin, dotted] (\x,\y) -- (\x,\y+1);
\path[draw, thin, dotted] (\x,\y) -- (\x+1,\y);
}
}
\path[draw, thick] (1,1) rectangle (5,5);
\node at (2.1,3.1) {$\times$};
\node at (3,0.5) {$X_1$};
\node at (0.5,3) {$X_2$};
\end{tikzpicture}