I must be stupid : I can't see the problem... Could ypou amplify ?

--
Emmanuel Charpentier

Le lundi 22 janvier 2018 14:57:34 UTC+1, HG a écrit :
>
> Hi, 
>
> After looking in few old tickets, I can't correct the duplicate legend ? 
>
> c=3e8;h=6.626*(10^-34);k = 1.281*(10^-23) 
> k1=8*pi*h*c;k2=(h*c)/k 
> E(l,T)=k1*(l*1e-9)^-5*(1/(exp(k2/((l*1e-9)*T))-1)) 
> f1=0;f2=E(l,3500);f3=E(l,4000);f4=E(l,4500); 
> params=dict(figsize=3,axes=False,fontsize=6, 
>              frame=True,gridlines="major", 
>              gridlinesstyle=dict(color="lightgrey", 
>                                  linestyle="-"), 
>              axes_labels=("$\Lambda[nm]$",\ 
>                           "$E(\\Lambda)[KJ/nm$"), 
>              legend_font_size=6) 
> f1=0;f2=E(l,3500);f3=E(l,4000);f4=E(l,4500) 
> b=plot([f2,f3],l,10,4000,legend_label="4000", 
>         fill =[0, [0]], 
>            fillcolor=['blue','green'], 
>            fillalpha=1) 
> p=plot([f1,f2],l,10,4000,legend_label="3000", 
>         fill={1: [0]}, 
>         fillcolor=["red","yellow"], 
>         fillalpha=1) 
> d=plot([f3,f4],l,10,4000,legend_label="5000", 
>         fill =[1, [0]], 
>         fillcolor=['yellow','red'], 
>         fillalpha=0.5) 
> v=plot(p+b+d) 
> v.show(**params) 
>
> Any help ? 
>
> Regards 
>
> Henri 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to