% Demonstrate plot, legend, and format commands

close all

a= [0 4 3 8];  
b= [1 2 5 3];  
f= [0 4 6 8 10];
g= [2 2 6 4  3];
plot(a,b,'-*', f,g,'c', 'Linewidth',2,'Markersize',10)
legend('graph 1 name', ...
       'graph 2 name')
xlabel('x values')
ylabel('y values')
title('My graphs', 'Fontsize',14)
