MATLAB: How to plot a graph

graph

i have a matfile with x and y values as shown in the link below…
the x values are [1;2;3;4;5]….. for these x values and taking each column in the variable y, i want to plot a graph……
please can someone help me plot these 5 lines in one graph with each line in different color….. please do reply
i wanted the x-axis and y-axis markings to be as shown in the link below
please do reply….

Best Answer

col='rgbkc'
hold on
for ii=1:5
line(x,y(:,ii),'color',col(ii),'Marker','o','LineStyle','--','markerfacecolor',col(ii),'Markersize',6)
end
legend({'curv1','curv2','curv3','curv4','curv5'},'location','SouthEast')
xlabel('x')
ylabel('y')
set(gca,'ylim',[0 max(y(:))])
hold off