x=0:0.01:1;
y=sin(x);
Colour=['b' 'b' 'c']

figure()
plot(x,y,'lineStyle', '--')
hold on
plot(x,2*y)
plot(x,y.^0.5)
hold off
legend('first','second','third','location','NorthWest')
makeNicePlot('x','sin(x)','', Colour)

Colour2=['g' 'r' 'b']
figure()
loglog(x,y)
hold on
loglog(x,2*y)
loglog(x,y.^0.5)
hold off
makeNicePlot('log(x)', 'log(sin(x))','', Colour2);
