Re: [Matplotlib-users] Backend

2006-11-17 Thread Asheesh Laroia
On Fri, 17 Nov 2006, Timothy Wu wrote: > Must matplot be run with a backend installed suppose I only want to > create a command line program and create plot and output as gif/jpg/png? Try the plain "Agg" backend rather than e.g. GTKAgg or TkAgg. -- Asheesh. -- Ask not for whom the Bell tolls,

Re: [Matplotlib-users] matplotlib and zope problem

2006-11-16 Thread Asheesh Laroia
On Thu, 16 Nov 2006, Marek Szczypi�~Dski wrote: Error Type: RuntimeError Error Value: '/' is not a writable dir; you must set environment variable HOME to be a writable dir Just before you import matplotlib or pylab, try this: import os os.environ['HOME'] = '/tmp/' Does that help? Also, BTW

Re: [Matplotlib-users] installation problem

2006-07-28 Thread Asheesh Laroia
On Thu, 27 Jul 2006, [EMAIL PROTECTED] wrote: > All of the necessary addons- scipy, numarray, Numeric, gtk, etc have > been added. Well, something in the build system thinks something is missing. So let us know *exactly* what RPMs you installed (with URLs preferably), or where you got the sou

Re: [Matplotlib-users] Bar chart - labeling the bars?

2006-07-13 Thread Asheesh Laroia
On Thu, 13 Jul 2006, John Hunter wrote: > for x,y in zip(xs, ys): >ax.text(x+width/2., y, '%1.1f'%y, va='bottom', ha='center') John, that did the trick perfectly! Thanks a million! -- Asheesh. -- Tuesday After Lunch is the cosmic time of the week. ---

Re: [Matplotlib-users] Bar chart - labeling the bars?

2006-07-13 Thread Asheesh Laroia
On Thu, 13 Jul 2006, PGM wrote: > Vertical bars, I assume ? Yup. > Please check the screenshot page: > http://matplotlib.sourceforge.net/screenshots/barchart_demo.py > should be a big help. It doesn't show how to put numbers above the bars. It shows a lot of other things, and it was helpful f

[Matplotlib-users] Bar chart - labeling the bars?

2006-07-13 Thread Asheesh Laroia
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? Thanks! -- Asheesh.