Thank you, JJ, this solves my problems.

I have one question to your reply:

Jae-Joon Lee wrote:
> 
> col, leg = "b", "test"
> errorbar([1,2,3], [1,2,1],xerr=[0.1, 0.1, 0.1], yerr=[0.1, 0.1, 0.1],
>          fmt='.',color=col)
> l2, = plot([],[], "+", color=col)
> l2.remove() # remove from the axes
> 
> legend([l2], [leg])
> 

Does it make a difference whether I remove l2 from the axes or not? I can't
see that it is plotting anything at all so I am curious as to what I am
missing here..

Cheers, Karianne
-- 
View this message in context: 
http://old.nabble.com/legend%3A-changing-the-text-colour-tp29614647p29632842.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to