A simple Swing component from browsing sparse matrices |
|||||||||||
Description |
The JMatrixView project is aimed at matrix visualization. It provides a reliable java widget/component for matrix visualizationthat one will be able to embed in its own software. Implementation is in Java 1.4.2. Thanks to the Colt matrix package (http://dsd.lbl.gov/~hoschek/colt/) JMatrixView can support huge matrix, that can eventulally be sparse. It features rows and columns labelling and customizable CellRenderer-s : cells of the matrix can be rendered as small squarres, rectangles, circle, triangle, etc, and with gradient of colors taking into account the value stores in the cell. Future work will incorporate fisheye magnification of the matrix cell to be able to read the values when the matrix resolution is to low to do so : the resolution of the cells of the graphical matrix can be changed dynamically thanks to sliders from 100 pixels to 1 pixels to be able to catch wide patterns in large matrix. We use it or browsing adjency matrices of graphe, when the node-link representation is no longer appropriate (too big graph). Future work will also incorporate an interface for block modelling. We made this JMatrixView because the regular Swing JTable cannot deal with 40 000x40 000 sparses tables/matrices. The Colt library is used to implement matrix storage (DoubleMatrix2D).
|
||||||||||
Screenshots |
|
||||||||||