I have a 2D plot of 2 layers with different colors:




*using Gadflyplot(layer(x=1:10, y=rand(10), Geom.line, Geom.point, 
Theme(default_color=color("red"))),       layer(x=1:10, y=rand(10), 
Geom.line, Geom.point, Theme(default_color=color("green"))))*How can I 
generate a legend which specifies what each line color represents? I tried 
using 

Guide.colorkey but that doesn't seem to work for layers.

//A

Reply via email to