[Matrix-SIG] How to a la IDL, TV, matrix_array

Charles G Waldman cgw@fnal.gov
Tue, 17 Oct 2000 12:50:39 -0500 (CDT)


Scott Ransom writes:
 > Sidey Timmins wrote:
 > >
 > >     As a new pythoner I am very impressed with Numpy.
 > >     But surely you can (via Tkinter) display a raster matrix easily.
 > >     (I dont want to write a file and then display a jpeg etc with the imaging
 > ...
 > > which results in an array zx which looks something like:

If you install install PIL (Python Imaging Library) you can easily
do this using the "tostring" and "fromstring" functions.

Search the archives,  I believe this has been discussed before.