Something to try on. It uses tikz
and pgfplotstable
to fetch the data. It iterates through the table, tough you have to inform the table size beforehand in \nrows
and \ncols
. I have no idea about performance for big data sets, likely it will be bad (as expected).
The relationship between value and Format/Color is yours to make. Though as percusse said, 10 000x 10 000 Matrix is just too big...
MWE
\documentclass[margin=3mm]{standalone}
\usepackage{tikz,pgfplotstable,filecontents}
\begin{filecontents}{data-table.dat}
1 2 3 4 5
6 6 8 5 4
1 0 8 5 1
1 2 0 4 5
6 6 8 5 4
1 0 8 5 1
\end{filecontents}
\pgfplotstableread{data-table.dat}\mytable
\def\nrows{5}
\def\ncols{4}
\begin{document}
\begin{tikzpicture}
\foreach \i in {0,...,\nrows}{
\foreach \j in {0,...,\ncols}{
\pgfplotstablegetelem{\i}{\j}\of\mytable
\ifnum\pgfplotsretval=0\relax\else
\node[circle, minimum size=.5pt, inner sep=0pt, fill=red!\pgfplotsretval!purple, opacity=0.\pgfplotsretval] at (\j pt,-\i pt) {};
\fi
};
};
\end{tikzpicture}
\end{document}

Making a 60x60 Matrix with "random" integers from 0 to 50 and using the above MWE I got this:

\includegraphics
?x,y,value
entries (with a script or whatever) and then try to plot a scatter graphic. Disclaimer: I do not know if 60k line is manageable... never tried.