Add modification of legend.position
Add code for plotting