using Compose, Gadfly

set_default_plot_size(6inch, 3inch)

plot(x=[0.768448, 0.940515, 0.673959, 0.395453, 0.313244, 0.662555, 0.586022, 0.0521332, 0.26864, 0.108871, 0.163666, 0.473017, 0.865412, 0.617492, 0.285698, 0.463847, 0.275819, 0.446568, 0.582318, 0.255981],
     y=[0.70586, 0.291978, 0.281066, 0.792931, 0.20923, 0.918165, 0.614255, 0.802665, 0.555668, 0.940782, 0.48, 0.790201, 0.356221, 0.900925, 0.529253, 0.031831, 0.900681, 0.940299, 0.621379, 0.348173],
     color=repeat(["A","B"], inner=10),
     Guide.colorkey(title="Species", labels=["Name1","Name2"], pos=[0.85w,-0.3h]))
