[SciPy-user] 2D data plot

Nathan Bell wnbell@gmail....
Thu Aug 21 12:16:16 CDT 2008


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/


More information about the SciPy-user mailing list