[Matplotlib-users] Align ylabels

2007-02-27 Thread Sture Lygren
Hi, Quick question - how can I align ylabels for several subplots? Sture -- Sture Lygren Computer Systems Administrator Andoya Rocket Range Work: +4776144451 / Fax: +4776144401 - Take Surveys. Earn Cash. Influence the Futur

[Matplotlib-users] LineCollection with markers?

2007-02-27 Thread Bart van Kuik
Hi guru's, I'm using the LineCollection class because I colorize my line segments (the color is essentially a third dimension in the plot). However, I'd like a marker on the line points. Any suggestions on methods/attributes, or which other class to use? Thanks, Bart van Kuik

Re: [Matplotlib-users] Align ylabels

2007-02-27 Thread Jouni K . Seppänen
Sture Lygren <[EMAIL PROTECTED]> writes: > Quick question - how can I align ylabels for several subplots? Set their position properties e.g. like this: y = ylabel('foo') pos = getp(y, 'position') setp(y, 'position', (pos[0], X)) where X is the position (in data coordinates) where you want

Re: [Matplotlib-users] PDF and accentued characters

2007-02-27 Thread Lionel Roubeyrie
Oups, sorry for the mistake, the Vera font in the resulting pdf file from epstopdf is effectively converted to T3Font_0 Type 3. You can have a look here: http://www.limair.asso.fr/share/pre2.eps and http://www.limair.asso.fr/share/pre2.pdf Thanks Le Lundi 26 Février 2007 19:38, Jouni K. Seppänen

Re: [Matplotlib-users] PDF and accentued characters

2007-02-27 Thread Lionel Roubeyrie
Thanks for the tips Nicolas, I'm going to switch to SVN and try your patch. Le Lundi 26 Février 2007 19:33, Nicolas Grilly a écrit : > On 2/26/07, Lionel Roubeyrie <[EMAIL PROTECTED]> wrote: > > I just want to set xlabels with : > > MOIS=['janvier', > > u'février', 'mars', 'avril', 'mai', 'juin',

Re: [Matplotlib-users] PDF and accentued characters

2007-02-27 Thread Jouni K . Seppänen
Lionel Roubeyrie <[EMAIL PROTECTED]> writes: > Oups, sorry for the mistake, the Vera font in the resulting pdf file from > epstopdf is effectively converted to T3Font_0 Type 3. > You can have a look here: > http://www.limair.asso.fr/share/pre2.eps and > http://www.limair.asso.fr/share/pre2.pdf

Re: [Matplotlib-users] New aspect function for pylab

2007-02-27 Thread Mark Bakker
Thanks for the explanation, John. I printed out the CODING_GUIDE (sorry, didn't know it existed). The new function with the extra copy command is shown below. Can we add this to pylab? Thanks, Mark def aspect(*args, **kwargs): """ Set/Get the aspect ratio (ylength/xlength) of the current ax

[Matplotlib-users] axis.get_child_artists() marked depreciated, what to use else.

2007-02-27 Thread Berthold Höllmann
The online documentation on marks the method 'get_child_artists' deprecated. What else can I use instead? Thanks Berthold -- __ Address: G / \ L Germanischer Lloyd phone: +49-40-36149-

Re: [Matplotlib-users] axis.get_child_artists() marked depreciated, what to use else.

2007-02-27 Thread John Hunter
On 2/27/07, Berthold Höllmann <[EMAIL PROTECTED]> wrote: > The online documentation on > marks the > method 'get_child_artists' deprecated. What else can I use instead? Use ax.get_children in matplotlib-0.90 and svn. JDH --

Re: [Matplotlib-users] LineCollection with markers?

2007-02-27 Thread John Hunter
On 2/27/07, Bart van Kuik <[EMAIL PROTECTED]> wrote: > Hi guru's, > > I'm using the LineCollection class because I colorize my line segments > (the color is essentially a third dimension in the plot). However, I'd > like a marker on the line points. Any suggestions on methods/attributes, > or which

Re: [Matplotlib-users] New aspect function for pylab

2007-02-27 Thread John Hunter
On 2/27/07, Mark Bakker <[EMAIL PROTECTED]> wrote: > Thanks for the explanation, John. > I printed out the CODING_GUIDE (sorry, didn't know it existed). > The new function with the extra copy command is shown below. > Can we add this to pylab? Since Eric has been developing and maintaining the asp

Re: [Matplotlib-users] New aspect function for pylab

2007-02-27 Thread Mark Bakker
John - Maybe I misunderstand you, but I thought the pylab interface was invented to do very useful stuff (yet you want to prevent it from doing something useful ??). All the functionality is already in the API, but the calling sequence is too lengthy and somewhat convoluted for interactive use.

Re: [Matplotlib-users] Align ylabels

2007-02-27 Thread Sture Lygren
Hi, Thanks a lot for your reply. I still have some problem tough. I want vertical alignment of 5 ylabels for 5 different subplots. Trying your solution I'm able to move the ylabels up/down but not right/left. Seems like changing 'x' in position (x,y) has no effect at all. How come? regards, Sture

Re: [Matplotlib-users] Align ylabels

2007-02-27 Thread Sture Lygren
Should be horizontal alignment ... Sture Lygren wrote: > Hi, > > Thanks a lot for your reply. I still have some problem tough. I want > vertical alignment of 5 ylabels for 5 different subplots. Trying your > solution I'm able to move the ylabels up/down but not right/left. Seems > like changing '

Re: [Matplotlib-users] Align ylabels

2007-02-27 Thread John Hunter
On 2/27/07, Sture Lygren <[EMAIL PROTECTED]> wrote: > Thanks a lot for your reply. I still have some problem tough. I want > vertical alignment of 5 ylabels for 5 different subplots. Trying your > solution I'm able to move the ylabels up/down but not right/left. Seems > like changing 'x' in positi

Re: [Matplotlib-users] New aspect function for pylab

2007-02-27 Thread Eric Firing
Mark Bakker wrote: > John - > > Maybe I misunderstand you, but I thought the pylab interface > was invented to do very useful stuff (yet you want to prevent it > from doing something useful ??). No, the point is to minimize differences between pylab functions and object methods, to make it as eas

Re: [Matplotlib-users] New aspect function for pylab

2007-02-27 Thread Christopher Barker
Eric Firing wrote: > make it as easy as possible for a person to do > something interactive in pylab and then translate it into a more > OO-style script. Or even more - not use pylab at all. There is nothing inherent in OO design that makes it necessary to write a bunch more code. It would be ni

Re: [Matplotlib-users] New aspect function for pylab

2007-02-27 Thread John Hunter
On 2/27/07, Christopher Barker <[EMAIL PROTECTED]> wrote: > Or even more - not use pylab at all. There is nothing inherent in OO > design that makes it necessary to write a bunch more code. It would be > nice if the OO interface were just as easy to use. I don't agree with this at all. Inherent