% Schematic10.m %
clf; clear; xr = 180; nx = 180; x = linspace(0, xr, nx+1);
aa = ones(1,nx+1); h = x(2)-x(1); 
fs = 20;
fs2 = 18; 
hold on

line([x(1) x(end)+20],[x(1) x(1)],'color','k','linewidth',2); 
plot(x(end)+20,0,'k>','MarkerEdgeColor','k','MarkerFaceColor','k','MarkerSize',10);
text('Interpreter','latex','String','$$S(\tau)$$','Position',[175.1 -10.2 17.32],'FontSize',20)
text('Interpreter','latex','String','$$\bf{65}$$','Position',[33.66 -8.614 17.32],'FontSize',fs)
text('Interpreter','latex','String','$$\bf{85}$$','Position',[73.31 -8.614 17.32],'FontSize',fs)

line([x(1) x(1)],[-10 x(180)+10],'color','k','linewidth',2); 
plot(x(1),x(180)+10,'k^','MarkerEdgeColor','k','MarkerFaceColor','k','MarkerSize',10);
text('Interpreter','latex','String','$$u(x,y,z,\tau)$$','Position',[-31.92 199.5 17.32],'FontSize',23,'color','k')
text('Interpreter','latex','String','$$\bf{0}$$','Position',[-9.428 -0.4867 17.32],'FontSize',fs)
text('Interpreter','latex','String','$$\bf{85}$$','Position',[-14.77 29.16 17.32],'FontSize',fs)
text('Interpreter','latex','String','$$\bf{130}$$','Position',[-20.49 168.4 17.32],'FontSize',fs)

en = 170;

line([x(en) x(en)],[0 x(en)],'color','k','linewidth',1,'linestyle','-'); 

i = 40; line([x(i) x(i)],[x(1) x(en)],'color','k','linewidth',2,'linestyle',':'); 
i = 80; line([x(i) x(i)],[x(1) x(en)],'color','k','linewidth',2,'linestyle',':'); 
i = 30; line([x(1) x(80)],[x(i) x(i)],'color','k','linewidth',2,'linestyle',':'); 
i = 170; line([x(1) x(80)],[x(i) x(i)],'color','k','linewidth',2,'linestyle',':'); 
line([x(80) x(170)],[x(170) x(170)],'color','k','linewidth',3,'linestyle','-'); 
line([x(1) x(80)],[x(1) x(30)],'color','k','linewidth',3,'linestyle','-'); 
plot(x(80),x(170),'ks','MarkerEdgeColor','k','MarkerFaceColor','k','MarkerSize',10);

sh = 5; sh2 = 1; 
plot(x(40:sh:170),x(40:sh:170)*0 + x(170),'ko','MarkerEdgeColor','k','MarkerSize',9);
plot(x(1),x(1),'ko','MarkerEdgeColor','k','MarkerSize',9);
plot(x(40),x(16),'ko','MarkerEdgeColor','k','MarkerSize',9);
xx = 5; yy = 15*xx/40;
plot(xx,yy,'ko','MarkerEdgeColor','k','MarkerSize',9);xx = 11; yy = 15*xx/40;
plot(xx,yy,'ko','MarkerEdgeColor','k','MarkerSize',9);
xx = 17; yy = 15*xx/40;
plot(xx,yy,'ko','MarkerEdgeColor','k','MarkerSize',9);
xx = 22.2; yy = 15*xx/40;
plot(xx,yy,'ko','MarkerEdgeColor','k','MarkerSize',9);
xx = 28; yy = 15*xx/40;
plot(xx,yy,'ko','MarkerEdgeColor','k','MarkerSize',9);
xx = 34; yy = 15*xx/40;
plot(xx,yy,'ko','MarkerEdgeColor','k','MarkerSize',9);

plot(184:206,160*ones(1,23),'k-','linewidth',2);
plot(185:5:205,148*size(185:5:205,1),'ko','MarkerEdgeColor','k','MarkerSize',8);
text('Interpreter','latex','String','$$u$$','Position',[212.5 160.1 17.32],'FontSize',23)
text('Interpreter','latex','String','$$v$$','Position',[212.5 147.7 17.32],'FontSize',23)

axis off
axis([-10 x(end)+30 -10 x(end)+10])
set(gcf,'PaperPositionMode','auto')