change plot line color in matplotlib

C
plot(x, y, color='green', linestyle='dashed', marker='o',
     markerfacecolor='blue', markersize=12).

Source

Also in C: