Re: [Matplotlib-users] Problem getting math symbols into text

2010-08-04 Thread Gökhan Sever
On Wed, Aug 4, 2010 at 8:05 PM, Michael Hannon wrote: > > Wow, I hadn't realized that Fedora 13 is carrying a rather old version of > > matplotlib (~2 years old). I should double-check what version is in > rawhide > > and possibly prod some people to get them to choose a more recent > version...

Re: [Matplotlib-users] Problem getting math symbols into text

2010-08-04 Thread Michael Hannon
> Wow, I hadn't realized that Fedora 13 is carrying a rather old version of > matplotlib (~2 years old). I should double-check what version is in rawhide > and possibly prod some people to get them to choose a more recent version... Hi, Ben. I think it would be a good idea to give the Fedora pe

Re: [Matplotlib-users] Bad Marshal data when importing matplotlib

2010-08-04 Thread Oz Nahum
ׁHi, Sorry for the late reply. Yes the solution suggested in reply to my bug report was indeed helpful ! Thanks for the help ! Oz On Wed, Aug 4, 2010 at 5:01 PM, Benjamin Root wrote: > On Wed, Aug 4, 2010 at 12:26 AM, Oz Nahum wrote: > >> Hi Everyone ! >> This is urgent, I have to finish som

Re: [Matplotlib-users] Scatter legend with colored marker

2010-08-04 Thread Benjamin Root
On Wed, Aug 4, 2010 at 3:52 PM, Jorge Scandaliaris wrote: > Benjamin Root writes: > > > > > > Yes, please do, and then mention which bug report you filed to this > thread. > Ben Root > > Done. Bug number is 3039678 > > Could this behavior be due to the fact that scatter() accepts sequences for >

Re: [Matplotlib-users] Scatter legend with colored marker

2010-08-04 Thread Jorge Scandaliaris
Benjamin Root writes: > > Yes, please do, and then mention which bug report you filed to this thread. Ben Root Done. Bug number is 3039678 Could this behavior be due to the fact that scatter() accepts sequences for setting the color of each point individually? Maybe I am way off, but who kn

Re: [Matplotlib-users] Scatter legend with colored marker

2010-08-04 Thread Benjamin Root
On Wed, Aug 4, 2010 at 3:01 PM, Jorge Scandaliaris wrote: > Benjamin Root writes: > > > > Hmm, this definitely looks like a bug. > > Should I fill a bug report about this? > > Jorge > > Yes, please do, and then mention which bug report you filed to this thread. Ben Root

Re: [Matplotlib-users] Scatter legend with colored marker

2010-08-04 Thread Jorge Scandaliaris
Benjamin Root writes: > Hmm, this definitely looks like a bug.  Should I fill a bug report about this? Jorge -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++

Re: [Matplotlib-users] Scatter legend with colored marker

2010-08-04 Thread Jorge Scandaliaris
Benjamin Root writes: > Hmm, this definitely looks like a bug.  If I explicitly state what color I > want > using the "color" keyword instead of using 'c' and 'norm', then everything > works properly. I can't tell if this is a bug or not, but the trick of using a color directly is an even simp

Re: [Matplotlib-users] Tick label sizes

2010-08-04 Thread Eric Firing
On 08/04/2010 06:19 AM, John Hunter wrote: > On Wed, Aug 4, 2010 at 11:07 AM, Tommy Grav wrote: >> A rather simple question, but I could not find the >> answer while rummaging around on the matplotlib >> webpages. Is there a way to increase the size of >> the tick label sizes from say fontsize 9 t

Re: [Matplotlib-users] Twin Axes

2010-08-04 Thread R. Padraic Springuel
So I switched to axes_grid1 and got things working. Thanks. -- R. Padraic Springuel Research Assistant Department of Physics and Astronomy University of Maine Bennett 309 Office Hours: By Appointment Only -- The Palm PD

Re: [Matplotlib-users] Performance problems plotting several lines

2010-08-04 Thread Ulf Larsson
>> Is there a cleaner way to do this? > > Use a LineCollection: > > http://matplotlib.sourceforge.net/search.html?q=codex+linecollection > > JDH Exactly what I was looking for. Thank you. /Ulf Larsson

Re: [Matplotlib-users] Tick label sizes

2010-08-04 Thread John Hunter
On Wed, Aug 4, 2010 at 11:07 AM, Tommy Grav wrote: > A rather simple question, but I could not find the > answer while rummaging around on the matplotlib > webpages. Is there a way to increase the size of > the tick label sizes from say fontsize 9 to 12? for label in ax.get_xticklabels() + ax.get

[Matplotlib-users] Tick label sizes

2010-08-04 Thread Tommy Grav
A rather simple question, but I could not find the answer while rummaging around on the matplotlib webpages. Is there a way to increase the size of the tick label sizes from say fontsize 9 to 12? Tommy -- The Palm PDK Hot

Re: [Matplotlib-users] Scatter legend with colored marker

2010-08-04 Thread Benjamin Root
On Wed, Aug 4, 2010 at 10:00 AM, Jorge Scandaliaris wrote: > Jorge Scandaliaris writes: > > > > Hi, > > I am adding several scatter plots to the same axis, each having a > specific > > color. When I call legend on the axis it correctly picks all scatter > plots with > > their symbols and labels,

Re: [Matplotlib-users] Performance problems plotting several lines

2010-08-04 Thread John Hunter
On Wed, Aug 4, 2010 at 9:42 AM, Ulf Larsson wrote: > > > Hi, > > I have some performance problems when plotting several lines and would > appreciate some comments. My application plots lots of lines (~5000) > of different sizes. The performance bottleneck lies in the following > code snippet: > >

Re: [Matplotlib-users] Bad Marshal data when importing matplotlib

2010-08-04 Thread Benjamin Root
On Wed, Aug 4, 2010 at 12:26 AM, Oz Nahum wrote: > Hi Everyone ! > This is urgent, I have to finish some plots by tomorrow, and I totally lost > the ability to work with python matplotlib - > "import pylab" > "from pylab import *" > > all yield the following error: > > [code]Traceback (most rece

Re: [Matplotlib-users] Scatter legend with colored marker

2010-08-04 Thread Jorge Scandaliaris
Jorge Scandaliaris writes: > > Hi, > I am adding several scatter plots to the same axis, each having a specific > color. When I call legend on the axis it correctly picks all scatter plots > with > their symbols and labels, but it doesn't pick up the color. The example below > demonstrates this.

Re: [Matplotlib-users] Problem getting math symbols into text

2010-08-04 Thread Benjamin Root
On Tue, Aug 3, 2010 at 11:12 PM, Michael Hannon wrote: > Greetings. I'm unable to get mathtext to work properly on my linux system: > ># cat /etc/redhat-release >Fedora release 13 (Goddard) > ># uname -a >Linux localhost.localdomain 2.6.33.6-147.2.4.fc13.x86_64 #1 SMP Fri Jul > 2

[Matplotlib-users] Performance problems plotting several lines

2010-08-04 Thread Ulf Larsson
Hi, I have some performance problems when plotting several lines and would appreciate some comments. My application plots lots of lines (~5000) of different sizes. The performance bottleneck lies in the following code snippet: for s in data.layout.segment: x = [] y = [] for p in s.p

Re: [Matplotlib-users] Rotated text for selected subplots

2010-08-04 Thread John Hunter
On Wed, Aug 4, 2010 at 6:27 AM, thowa wrote: > I'm afraid, I made myself not clear enough. > I want to rotate the numbers on the axis (similar to what autofmt_xdate() is > doing). > As I understand, autofmt_xdate() is changing the rotation of the numbers for > all sub-plots. > But I want to do it

Re: [Matplotlib-users] Rotated text for selected subplots

2010-08-04 Thread thowa
thowa wrote: > > > > I'm afraid, I made myself not clear enough. > I want to rotate the numbers on the axis (similar to what autofmt_xdate() > is doing). > As I understand, autofmt_xdate() is changing the rotation of the numbers > for all sub-plots. > But I want to do it only for selected subp

[Matplotlib-users] Scatter legend with colored marker

2010-08-04 Thread Jorge Scandaliaris
Hi, I am adding several scatter plots to the same axis, each having a specific color. When I call legend on the axis it correctly picks all scatter plots with their symbols and labels, but it doesn't pick up the color. The example below demonstrates this. What I would like to do is to have in the l

Re: [Matplotlib-users] Rotated text for selected subplots

2010-08-04 Thread thowa
John Hunter-4 wrote: > > On Tue, Aug 3, 2010 at 6:23 AM, thowa wrote: >> >> Hi, >> >> I'm pretty new to Matplotlib and I'm really impressed about the >> possibilities !!! >> GREAT WORK !!! >> >> I have a figure with 3 subplots like this. >> >> *---*    *--* >> |