Re: [Matplotlib-users] All CM fonts

2009-01-12 Thread Jouni K . Seppänen
"T J" writes: > So it looks as if the plot title, for example, is getting Nimbus > rather than CM. The usetex code looks at the font settings in your rc file and chooses the first matching font that it knows how to use in TeX. Your settings (probably inherited from the defaults) specify choosi

[Matplotlib-users] All CM fonts

2009-01-12 Thread T J
Hi, my matplotlibrc file is: backend : GTKAgg text.usetex : True text.latex.preview : True ps.usedistiller : xpdf However, when I create images, regular text is not in the CM font. When checking the fonts in a pdf viewer, I get: CM12, Type 1, Embedded NimbusSanL-Regu, Type 1, Embedded So it

Re: [Matplotlib-users] plotting collections on an X date axes

2009-01-12 Thread Eric Firing
Simson Garfinkel wrote: > > On Jan 12, 2009, at 11:53 AM, Eric Firing wrote: > >> Simson Garfinkel wrote: >>> Hi. It's me again, asking about dates again. >>> is there any easy way to a collection using dates on the X axes? >>> I've taken the collection example from the website and adopted it

Re: [Matplotlib-users] fontdict keyword argument to text() function

2009-01-12 Thread John Hunter
On Mon, Jan 12, 2009 at 4:35 PM, Michael Hearne wrote: > Will fontdict continue to be a valid keyword argument for the text() > function? It seems to work now (in version 0.98.5.1), but the help on > this page: > > http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.text > > i

[Matplotlib-users] fontdict keyword argument to text() function

2009-01-12 Thread Michael Hearne
Will fontdict continue to be a valid keyword argument for the text() function? It seems to work now (in version 0.98.5.1), but the help on this page: http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.text is ambiguous, as it lists two keyword arguments at the top ("fontd

Re: [Matplotlib-users] Problems using with pylab on Solaris

2009-01-12 Thread John Hunter
On Mon, Jan 12, 2009 at 2:51 PM, Gregory S Morin wrote: > Anyone who got this to build on Solaris have any info on which > compiler/libraries you used, env vars, etc? > > I've been trying a few different configs, but haven't made any real > progress. I'll have to poke at it when I get some more f

Re: [Matplotlib-users] Problems using with pylab on Solaris

2009-01-12 Thread Gregory S Morin
Anyone who got this to build on Solaris have any info on which compiler/libraries you used, env vars, etc? I've been trying a few different configs, but haven't made any real progress. I'll have to poke at it when I get some more free time, but I'm hoping maybe someone else has run into this.

Re: [Matplotlib-users] set axes size; figure adjusts

2009-01-12 Thread Jae-Joon Lee
> > For my current use it would be enough if savefig had an option > bbox = 'tight' > so that only the area actually drawn in was written > to file. > > The problem is that if you set the fig size and then > set the axis size proportionately, you must fiddle > with things to get a tight fit

Re: [Matplotlib-users] plotting collections on an X date axes

2009-01-12 Thread Eric Firing
Simson Garfinkel wrote: > Hi. It's me again, asking about dates again. > > is there any easy way to a collection using dates on the X axes? > I've taken the collection example from the website and adopted it so > that there is a use_dates flag. Set it to False and spirals demo > appears. S

Re: [Matplotlib-users] Problem with pyplot under Linux Ubuntu Intrepid

2009-01-12 Thread Sandro Tosi
On Mon, Jan 12, 2009 at 19:52, Mauro Cavalcanti wrote: > I must say I feel truly honoured. I never expected my humble complaint > would merit the attention of one of the Debian maintainters! eheh, well, we are not some sort of gods or what: we talk to mortals now :D > I will follow the direction

Re: [Matplotlib-users] Problem with pyplot under Linux Ubuntu Intrepid

2009-01-12 Thread Mauro Cavalcanti
Dear Sandro, I must say I feel truly honoured. I never expected my humble complaint would merit the attention of one of the Debian maintainters! Well, thank you very much! I will follow the directions you provided - as I understood, they will result in the creation of a deb package for the lates

Re: [Matplotlib-users] Problem with pyplot under Linux Ubuntu Intrepid

2009-01-12 Thread Sandro Tosi
Hello Mauro, (thanks John to highlight me:) ) On Mon, Jan 12, 2009 at 17:50, Mauro Cavalcanti wrote: > 3) I am running MPL 0.98.5.1, installed with Ubuntu itself. I ran sudo > easy_install matplotlib in an attempt to install version 0.98.5.2, but > this gave no result (easy_Install tells me that

Re: [Matplotlib-users] Problem with pyplot under Linux Ubuntu Intrepid

2009-01-12 Thread Mauro Cavalcanti
Dear John & Darren, Thanks for your reply -- the "panic" I alluded for is simply the result of three months' strain working day-by-day to develop a very large application using wxPython/MPL/Basemap under Linux, along with a RAM crash and, more recently, an upgrade form Ubuntu 8.04 (Hardy Heron) to

Re: [Matplotlib-users] set axes size; figure adjusts

2009-01-12 Thread Alan G Isaac
>> The best I've come up with so far is to create a figure >> with a set size, and then add axes with a specified >> rectangle. On 1/12/2009 3:56 AM Jae-Joon Lee apparently wrote: > I think the way you're doing is the easiest way. > Anyhow, can you provide an example of a "neat path"? In my v

Re: [Matplotlib-users] Problem in mlab.py while creating .exe

2009-01-12 Thread Laurent Dufréchou
Thx you john, for you fast reply (as always). You're true seems to be a py2exe optimization problem. I've got the good origin of the problem. So your true you don't have to include my ugly patch :) Thx for the link, will write a little tuto on making .exe! Regards, Laurent > -Message d'origi

Re: [Matplotlib-users] error compiling MPL: "gtktools.py: no such file or directory"

2009-01-12 Thread Hani Nakhoul
I did use sudo--here are the shell command and the install output: sudo python setup.py install BUILDING MATPLOTLIB matplotlib: 0.98.5.2 python: 2.5.2 (r252:60911, Oct 5 2008, 19:29:17) [GCC

Re: [Matplotlib-users] Problem in mlab.py while creating .exe

2009-01-12 Thread John Hunter
On Mon, Jan 12, 2009 at 5:04 AM, Laurent Dufrechou wrote: > I've created a little software for data analysis with your fantastic > library. > > I've made .exe with py2exe and since I've upgraded to last revision my .exe > was no more working. > I know this is a quick ugly fix, but I had to do a r

Re: [Matplotlib-users] Problem with pyplot under Linux Ubuntu Intrepid

2009-01-12 Thread John Hunter
On Mon, Jan 12, 2009 at 7:44 AM, Mauro Cavalcanti wrote: > Dear ALL, > > I just found the following error when trying to run a very simple test > MPL/Basemap script under Ubuntu Linux Intrepid. This does *not* happen > when not importing MPL pyplot (for example, in a wxPython embedded > app). > >

Re: [Matplotlib-users] Problem with pyplot under Linux Ubuntu Intrepid

2009-01-12 Thread Darren Dale
On Mon, Jan 12, 2009 at 8:44 AM, Mauro Cavalcanti wrote: > Dear ALL, > > I just found the following error when trying to run a very simple test > MPL/Basemap script under Ubuntu Linux Intrepid. This does *not* happen > when not importing MPL pyplot (for example, in a wxPython embedded > app). > >

[Matplotlib-users] Problem with pyplot under Linux Ubuntu Intrepid

2009-01-12 Thread Mauro Cavalcanti
Dear ALL, I just found the following error when trying to run a very simple test MPL/Basemap script under Ubuntu Linux Intrepid. This does *not* happen when not importing MPL pyplot (for example, in a wxPython embedded app). Traceback (most recent call last): File "/home/maurobio/Projetos/Croiz

Re: [Matplotlib-users] Getting rid of parallels and meridians

2009-01-12 Thread Mauro Cavalcanti
Dear Jeff, Thanks a lot, as always, for your help! I just expected that it could be some sort of 'one-line' solution to the removing of parallel/meridian lines, avoiding the need to use a loop (as I want to remove all the lines at once). But, of course, it works! I will take this opportunity to

Re: [Matplotlib-users] set axes size; figure adjusts

2009-01-12 Thread Jae-Joon Lee
> > The best I've come up with so far is to > create a figure with a set size, and then > add axes with a specified rectangle. > But this does not give a neat path to > what I want. > Alan, I think the way you're doing is the easiest way. Anyhow, can you provide an example of a "neat path"? In my