Eran Tromer wrote:
> Hi,
> 
> I'm looking for free software to render a 2D dataset as grayscale chart,
> i.e., as a matrix whose cell colors are determined by the corresponding
> dataset elements. It should include the usual aids (tickmarks, scale
> legend, axis titles etc.), and preferably should output vectorized
> PostScript.
> 
> Any suggestions?
> 
http://matplotlib.sourceforge.net/
matplotlib has the imshow() function, which can produce very nice 2d charts.

In the screenshots area - look for the example titled "pcolor_demo.py" -
seems close enough to what you want to get you started.

http://matplotlib.sourceforge.net/screenshots.html

Also have a look at the Axes() and Figure() classes (type help(Axes) at
the python prompt), to get more fine-grained control over the axes and
legend.

to get PostScript, just type savefig("my_plot.ps"), instead of show()

And - this is a python package - so you can easily import data from
almost any format you like.

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to