MATLAB: Vertical line through all the subplots

subplotvertical line

How to give a long vertical line throughout one particular plot that contains multiple subplots.
I do not want annotation command.
I would like to use something like
line(x,y);
however this command does not show-up over entire range of subplots. I attach a smiliar figure below.
I want to specify (x,y) with respect to one of the subplots and then get a veritcal line througout the subplots.

Best Answer

x = 1:10 ;
y = rand(1,10) ;
figure
hold on
plot(x,y)
x1 = 5*ones(1,10) ;
y1 = linspace(min(y),max(y),10);
plot(x1,y1,'--b','LineWidth',5)