% Schematic30.m %
clear; clc; clf;
axis([-0.2  1.5  -0.2  1.5])
axis image
ss = 1.5;
line([0 0],[0 1],'color','k ','Marker','.','LineStyle','-','LineWidth',ss)
line([1 0],[1 1],'color','k ','Marker','.','LineStyle','-','LineWidth',ss)
line([1 1],[1 0],'color','k ','Marker','.','LineStyle','-','LineWidth',ss)
line([1 0],[0 0],'color','k ','Marker','.','LineStyle','-','LineWidth',ss)
mx = 0.4; my = 0.3;
line([0+mx 0+mx],[0+my 1+my],'color','k ','Marker','.','LineStyle','--','LineWidth',ss)
line([1+mx 0+mx],[1+my 1+my],'color','k ','Marker','.','LineStyle','-','LineWidth',ss)
line([1+mx 1+mx],[1+my 0+my],'color','k ','Marker','.','LineStyle','-','LineWidth',ss)
line([1+mx 0+mx],[0+my 0+my],'color','k ','Marker','.','LineStyle','--','LineWidth',ss)
line([0 mx],[1 1+my ],'color','k ', 'Marker', '.','LineStyle','-','LineWidth',ss)
line([0 mx],[0 my ],'color','k ', 'Marker', '.','LineStyle','--','LineWidth',ss)
line([1 1+mx],[0 my ],'color','k ', 'Marker', '.','LineStyle','-','LineWidth',ss)
line([1 1+mx],[1 1+my ],'color','k ', 'Marker', '.','LineStyle','-','LineWidth',ss)
fst = 20;
h1 = text(0.72, 0.59,'$p_{ijk}$');
set(h1,'interpreter','latex','fontsize',fst);
hold on
plot(0.7, 0.65,  's','linewidth',1.5,'color','k');
set(h1,'interpreter','latex','fontsize',fst);
hold on
plot(0.7, 0.65,  's','linewidth',1.5,'color','k');
h1 = text(0.6, 0.08,'$w_{i,j,k-\frac{1}{2}}$');
set(h1,'interpreter','latex','fontsize',fst);
hold on
plot(0.7, 0.15,  '*','linewidth',3,'color','k');
h1 = text(0.6, 1.22,'$w_{i,j,k+\frac{1}{2}}$');
set(h1,'interpreter','latex','fontsize',fst);
hold on
plot(0.7, 1.15,  '*','linewidth',3,'color','k');
h1 = text(1.05, 0.55,'$u_{i+\frac{1}{2},j,k}$');
set(h1,'interpreter','latex','fontsize',fst);
hold on
plot(1.2, 0.65,  'o','linewidth',2,'color','k');
h1 = text(0.05, 0.55,'$u_{i-\frac{1}{2},j,k}$');
set(h1,'interpreter','latex','fontsize',fst);
hold on
plot(0.2, 0.65,  'o','linewidth',2,'color','k');
h1 = text(0.42, 0.42,'$v_{i,j-\frac{1}{2},k}$');
set(h1,'interpreter','latex','fontsize',fst);
hold on
plot(0.5, 0.5,  '^','linewidth',2,'color','k');
h1 = text(0.5+mx-0.26, 0.5+my+0.07,'$v_{i,j+\frac{1}{2},k}$');
set(h1,'interpreter','latex','fontsize',fst);
hold on
plot(0.5+mx,0.5+my,'^','linewidth',2,'color','k');
axis off
set(gcf,'PaperPositionMode','auto')
