Re: [Matplotlib-users] legend font color

2010-09-18 Thread musik
That works perfectly. Thank you all so much! Gökhan SEVER-2 wrote: On Fri, Sep 17, 2010 at 1:13 PM, musik xi.xiaoxi...@gmail.com wrote: Is there a way to set the legend font color? I am plotting multiple sets of data using different colors. I basically want to set each legend font

[Matplotlib-users] legend font color

2010-09-17 Thread musik
Is there a way to set the legend font color? I am plotting multiple sets of data using different colors. I basically want to set each legend font color the same as the corresponding data line color. Here is an example. x = arange(0,10,0.1) y1 = sin(x) y2 = cos(x) plot(x,y1,'r-',x,y2,'b--') I

Re: [Matplotlib-users] legend font color

2010-09-17 Thread Ted Kord
It does this automatically. ted On 17 September 2010 19:13, musik xi.xiaoxi...@gmail.com wrote: Is there a way to set the legend font color? I am plotting multiple sets of data using different colors. I basically want to set each legend font color the same as the corresponding data line

Re: [Matplotlib-users] legend font color

2010-09-17 Thread Benjamin Root
On Fri, Sep 17, 2010 at 1:13 PM, musik xi.xiaoxi...@gmail.com wrote: Is there a way to set the legend font color? I am plotting multiple sets of data using different colors. I basically want to set each legend font color the same as the corresponding data line color. Here is an example. x =

Re: [Matplotlib-users] legend font color

2010-09-17 Thread Ted Kord
I misunderstood your question, musik. My apologies. Ted On 18 September 2010 02:15, Benjamin Root ben.r...@ou.edu wrote: On Fri, Sep 17, 2010 at 1:13 PM, musik xi.xiaoxi...@gmail.com wrote: Is there a way to set the legend font color? I am plotting multiple sets of data using different

Re: [Matplotlib-users] legend font color

2010-09-17 Thread Gökhan Sever
On Fri, Sep 17, 2010 at 1:13 PM, musik xi.xiaoxi...@gmail.com wrote: Is there a way to set the legend font color? I am plotting multiple sets of data using different colors. I basically want to set each legend font color the same as the corresponding data line color. Here is an example. x =