p1=plot(exp(-1/2*x)*cos(2*pi*x),x,0,6,rgbcolor=hue(0.4),legend_label='$f(x)=e^{(-1/2)x}cos(2\pi x)$' )
p2=plot(exp(-1/2*x),x,0,6,legend_label='$g(x)=e^{(-1/2)x}$')
t2=text("$f(x)$",(0.3,0.7),rgbcolor=hue(0.4))
t3=text("$g(x)$",(0.3,1))
t=t2+t3
p=plot(p1+p2+t)
p.axes_labels(['x-Achse','y-Achse'])
p.axes_label_color((0.3,0.7,1))
p.legend(True)
p.set_legend_options(shadow=True)
p.set_legend_options(loc=(4))
show(p)