C M, on 2011-01-24 16:27,  wrote:
> I looked through the gallery, but didn't see this one and am not sure
> how to create it.  It would be a "floating bar chart" (or floating
> column chart), like what is seen here:
> 
> http://peltiertech.com/Excel/pix1/BloodSugarFloater.gif

Hi Che,

just specify the 'bottom' keyword argument to bar. Note that the
second parameter is height of the bar, *not* the top of the bar

plt.bar([1,2,3,4], [2,2.5,5,3], bottom=[0,-1,1,2])

best,
-- 
Paul Ivanov
314 address only used for lists,  off-list direct email at:
http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7 

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to