You should try Matplotlib under python. You've got a lot of the MATLAB functionality re-implemented in python. http://matplotlib.sourceforge.net/
There is a sample sparsity diagram that I produced, see here (scroll down to near the bottom) https://pse.cheme.cmu.edu/wiki/view/Ascend/PythonWrapper Using matplotlib you can also render directly to various formats including SVG, I believe. Hope that helps JP Paul Smith wrote: >Dear All > >This may be a bit out of topic. I have a matrix of ones and zeros with >which I would like to produce a picture in such a way that the ones >would be represented in black, say, and the zeros in yellow. Does >somebody know of a program (for Linux) to create my picture? > >Thanks in advance, > >Paul > > > -- John Pye School of Mechanical and Manufacturing Engineering The University of New South Wales Sydney NSW 2052 Australia t +61 2 9385 5127 f +61 2 9663 1222 mailto:john.pye_AT_student_DOT_unsw.edu.au http://pye.dyndns.org/