I don't know the answer to your question exactly, but  had some data
like that and was very happy with numpoints=2.  You could see if that
is good enough for now.

Ryan

On 6/12/06, Wolfgang <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I want to display some measurement data as simple dots, and also a
> modeled curve (solid line, no symbols). When I set legend.numpoints to
> one I get one dot displayed in my legend, but no solid line any more. Is
> it somehow possible to configure the legend behavior for each line
> separately?
>
> Thanks
> Wolfgang
>
>
> import matplotlib
> from pylab import *
>
> t=[0,1,2]
> s=[0.1,1.1,1.9]
> plot(t, t,label='curve')
> plot(s, t, markersize=7, marker='o',
> markeredgecolor='b',markerfacecolor='w',alpha=0,label='dots')
> ylim(-0.1,2.1)
> legend(loc=2)
> show()
>
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>


_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to