On 5 November 2010 13:33, Daniele Nicolodi <dani...@grinta.net> wrote: > I would like to plot an x, y, z table so that each region of the plot > area defined by the coordinates (x, y) corresponds a color given by the > value of z. I suppose this is a kind of basic functionality, but I'm > unable to find the right function into matplotlib API.
You probably want imshow, pcolor, pcolormash or matshow http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.imshow http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.pcolor http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.pcolormesh http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.matshow There's a basic example of using imshow here: http://matplotlib.sourceforge.net/examples/pylab_examples/image_demo.html Cheers, Scott ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users