Hi M.  ,

I think the function imshow with kwarg interpolation='nearest' is what you are 
after.
See for instance:
http://matplotlib.sourceforge.net/examples/pylab_examples/image_interp.html

bet regards Matthias

On Saturday 13 June 2009 17:42:54 ms wrote:
> Hi,
>
> I want to plot the evolution of an histogram in time. It is naturally an
> histogram and not a continuous distribution -the quantities on the X
> axis are discrete.
>
> Is there a function that naturally does that? I now hack it using
> contourf() and creating an appropriate matrix of "squares", each square
> being a sub-matrix with the value of the bar, but the contourf()
> interpolation makes it look not perfect.
>
> Thanks!
> M.


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to