MATLAB: How to plot in 2D

how to plot in 2d

I have values For example. At x=0, y=6.1; x=5; y=6.02, x=10; y=5.98, x=15, y=6.02. I want to plot like
this figure by Matlab. Could you help me ? Thank you very much

Best Answer

x = [ 0 : 5 : 15 ]
y = [ 6.1 6.02 5.98 6.02 ]
Secrenario = x
Location = y
plot(Secrenario,Location,'r')
xlim([0 50])
ylim([3 7])