On Thursday 13 July 2006 14:05, Asheesh Laroia wrote: > I'm making a bar chart that shows percentages (values from 0 to 100), and > I'd like to have the actual bars labeled with their values. > > I don't see how to do this, though it seems that countour diagrams have > the clabel() function to do this. Is it possible with matplotlib?
Vertical bars, I assume ? Please check the screenshot page: http://matplotlib.sourceforge.net/screenshots/barchart_demo.py should be a big help. You can find other examples here http://matplotlib.sourceforge.net/matplotlib_examples_0.87.1.zip. If you're into OOP, check the "set_xticklabels" command. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users