![](https://secure.gravatar.com/avatar/3e3b4dff04d6c945d0f990ea8c362abb.jpg?s=120&d=mm&r=g)
21 Aug
2008
21 Aug
'08
7:16 p.m.
On Thu, Aug 21, 2008 at 12:21 PM, Martin Höfling <martin.hoefling@gmx.de> wrote:
I am trying to plot 2D data (x,y->z). Contour nearly does what I want except that I wanna fill a full pixel/square/rectangle for each x,y pair (since x and y are integer values). Contour plot draws lines and bevels between the points. What's the right plot/option for me.
Have you tried pcolor()? http://matplotlib.sourceforge.net/matplotlib.pyplot.html#-pcolor -- Nathan Bell wnbell@gmail.com http://graphics.cs.uiuc.edu/~wnbell/