From: Ted K. <ted...@gm...> - 2010-09-18 00:48:47
|
It does this automatically. ted On 17 September 2010 19:13, musik <xi....@gm...> 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 = arange(0,10,0.1) > y1 = sin(x) > y2 = cos(x) > > plot(x,y1,'r-',x,y2,'b--') > > I want the legend font for y1 to be in red and the legend font for y2 to be > in blue. > > Can anybody help? Thanks. > > > > -- > View this message in context: > http://old.nabble.com/legend-font-color-tp29741260p29741260.html > Sent from the matplotlib - users mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |