On Thu, Aug 28, 2008 at 1:34 PM, Nils Wagner
<[EMAIL PROTECTED]> wrote:

>  Please find attached the output (test.png).
> The order of the legend entries is wrong. Am I missing
> something ?

OK, now I see your point.  auto-legending doesn't respect the order of
the plots across different artist types.  I hadn't thought of this
before.  As a workaround, you can use the label kwarg:

  scatter(x,y,label='Messdaten')
  plot(xr,yr,label='Ausgleichskurve')
  legend(shadow=True)

JDH

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to