data = {
'x' : [0,1,2,3,4],
'y1': [6,9,10,11,12],
'y2': [9,9,9,9,9]
}
ggplot(data) + ggsize(380, 240) + \
geom_line(aes('x','y1'), color='red') + geom_point(aes('x','y1'), color='red') + \
geom_line(aes('x','y2'), color='blue') + geom_point(aes('x','y2'), color='blue')