Interesting. (I have never used TikZ.

@Thorsten:
The code in the test file
test.tex
isCode: Select all
\documentclass{article}
\usepackage{auto-pst-pdf,pstricks-add}
\begin{document}
\psscalebox{0.6}{%
\begin{pspicture}(-0.5,-0.75)(11,11)
\psaxes[ticksize=-5pt 0]{->}(11,11)
\psMatrixPlot[dotsize=1.1cm,dotstyle=square*,linecolor=red]{10}{10}{matrix.data}
\psMatrixPlot[dotsize=0.5cm,dotstyle=o,ChangeOrder]{10}{10}{matrix.data}
\end{pspicture}
}
\end{document}
matrix.data
:Code: Select all
/dotmatrix [ % <------------ important line
0 1 1 0 0 0 0 1 1 1
0 1 1 0 1 1 1 0 1 0
1 0 1 1 0 0 0 1 1 0
0 0 1 0 0 0 0 0 1 1
1 1 1 1 1 0 1 0 0 1
0 0 1 1 0 1 0 1 1 1
1 0 0 0 1 1 0 0 0 1
0 0 0 1 1 1 0 1 1 0
1 1 0 0 0 0 1 0 0 1
1 0 1 0 0 1 1 1 0 0
] def % <------------ important line
Code: Select all
pdflatex -shell-escape test.tex
P.S. Thank you for helping me.