Re: [Matplotlib-users] tick labeling question

2006-08-03 Thread Alexander Michael
On 8/3/06, Steve Schmerler [EMAIL PROTECTED] wrote: Hi allHow can I change the default behavior of the tick labeling from say12 3 4x1e-5to1e-52e-53e-54e-5 ?My thesis supervisor wants it that way :(cheers,steve There is problably a better way, but onne way is to set the label formatter

Re: [Matplotlib-users] tick labeling question

2006-08-03 Thread Darren Dale
On Thursday 03 August 2006 11:59, Alexander Michael wrote: On 8/3/06, Steve Schmerler [EMAIL PROTECTED] wrote: Hi all How can I change the default behavior of the tick labeling from say 1 2 3 4 x1e-5 to 1e-5 2e-5 3e-5 4e-5 ? My thesis supervisor wants it that way :(

Re: [Matplotlib-users] tick labeling question

2006-08-03 Thread Steve Schmerler
Darren Dale wrote: On Thursday 03 August 2006 11:59, Alexander Michael wrote: On 8/3/06, Steve Schmerler [EMAIL PROTECTED] wrote: Hi all How can I change the default behavior of the tick labeling from say 1 2 3 4 x1e-5 to 1e-5 2e-5 3e-5 4e-5 ? My thesis supervisor wants it

Re: [Matplotlib-users] tick labeling question

2006-08-03 Thread Steve Schmerler
Alexander Michael wrote: On 8/3/06, *Steve Schmerler* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi all How can I change the default behavior of the tick labeling from say 1 2 3 4 x1e-5 to 1e-5 2e-5 3e-5 4e-5 ? My thesis supervisor wants it that way

Re: [Matplotlib-users] basemap and transparent png output

2006-08-03 Thread John Hunter
Daniel == Daniel Poelzleithner [EMAIL PROTECTED] writes: Daniel Hi, I'm developing a websuite for open meshed networks Daniel written in django. I must admit, matplotlib and such was Daniel kinda hard stuff to step into. Most examples and Daniel documentation is only based on the

Re: [Matplotlib-users] Using unicode text and axes labels

2006-08-03 Thread John Hunter
marek == marek [EMAIL PROTECTED] writes: marek I need to make plots in which the axes and text labels marek display in either English, Spanish, or Portuguese. Does the unicode demo work for you? http://matplotlib.sourceforge.net/examples/unicode_demo.py JDH

[Matplotlib-users] ImportError: No module named Numeric

2006-08-03 Thread Kenny Ortmann
I am very new to matplotlib. Trying to start the a href=http://matplotlib.sourceforge.net/tutorial.html;tutorial, /a the very first script, the first line of the script, throws me this error. I have installed scipy version 0.5.0 for windows, and numpy version 1.0b1 i followed the instructions

Re: [Matplotlib-users] ImportError: No module named Numeric

2006-08-03 Thread John Hunter
Kenny == Kenny Ortmann [EMAIL PROTECTED] writes: Kenny When pylab tries to call numerix\__init__.py it is trying Kenny to figure out whether to call numpy, numeric, or numarray. Kenny Since it defaults to numeric I've tried to change the Kenny default to numpy, and that returned

Re: [Matplotlib-users] ImportError: No module named Numeric

2006-08-03 Thread Charlie Moad
On 8/3/06, John Hunter [EMAIL PROTECTED] wrote: Kenny == Kenny Ortmann [EMAIL PROTECTED] writes: Kenny When pylab tries to call numerix\__init__.py it is trying Kenny to figure out whether to call numpy, numeric, or numarray. Kenny Since it defaults to numeric I've tried to

Re: [Matplotlib-users] barh gives me: ValueError: frames are not aligned

2006-08-03 Thread Gregory Piñero
Ok, figured it out. My values had to be floats. They were strings. Sorry for the trouble. On 8/3/06, Gregory Piñero [EMAIL PROTECTED] wrote: Hi Fine Matplotlib folks, I'm getting this error message and I can figure it out: Traceback (most recent call last): ... File C:\automated

[Matplotlib-users] barh Chart - Not lining up

2006-08-03 Thread Gregory Piñero
Hi guys, I can't figure out why my code below is generating the attached image. What am I doing wrong? I tried to copy http://matplotlib.sourceforge.net/examples/barh_demo.py but also convert it so I can use the AGG backend. Any help is appriciated. Greg Pinero code from __future__ import

Re: [Matplotlib-users] barh Chart - Not lining up

2006-08-03 Thread John Hunter
Gregory == Gregory Piñero [EMAIL PROTECTED] writes: Gregory bar centers on the y axis p1 = figure.gca().barh(pos,val) Gregory figure.gca().set_yticklabels(('Tom', 'Dick', 'Harry', Gregory 'Slim', 'Jim')) figure.gca().set_xlabel('Perfomance') Gregory figure.gca().set_title('How

Re: [Matplotlib-users] barh Chart - Not lining up

2006-08-03 Thread Gregory Piñero
On 8/3/06, John Hunter [EMAIL PROTECTED] wrote: The following, with svn mpl, works. If it doesn't work for you, make sure to upgrade your matplotlib; note the use of align which is a fairly recent addition to mpl val = [2,5,3,6,3]# the bar lengths pos = arange(5)+.5# the bar

Re: [Matplotlib-users] barh Chart - Not lining up

2006-08-03 Thread PGM
On Thursday 03 August 2006 17:44, Gregory Piñero wrote: So all you changed was to add in align='center' ? I assume me using figure.gca() is equivalent to your use of ax? Yes, gca() is get the current axes object. Is it hard to upgrade to the latest version from svn? Any directions? [From

Re: [Matplotlib-users] barh Chart - Not lining up

2006-08-03 Thread Gregory Piñero
Another question, why are there only four bars showing up when I have 5 values and 5 labels? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your

Re: [Matplotlib-users] barh Chart - Not lining up

2006-08-03 Thread PGM
On Thursday 03 August 2006 20:41, Gregory Piñero wrote: Another question, why are there only four bars showing up when I have 5 values and 5 labels? ??? On my machine, (matplotlib.__version__ = '0.87.4'), the script you posted around 5PM (EST) works OK, five bars, five labels nicely placed